Some countries count people in their census. China counts pandas, too. And the best way to count the number of pandas includes collecting droppings for DNA analysis. But that’s all just part of the process when conducting a panda census. China sits poised to start a nationwide panda census in July—a practice it undertakes once
More here:
Trackers Count on Droppings in China’s Panda Census