How do 20 males and 20 females affect the herd count?

Zakat on Sheep and Goats: Brackets, Liability, and Discharge