I can think of a couple of reasons why only the men are counted, and neither of those reasons are because women were treated like herd animals. The first is that a people’s fighting force was it’s most important asset. Brute strength and heavy weapons were the order of the day, and if your people were not a force to be reckoned with, some other people who were would kill you, and start fathering the children of your widows and daughters. And now someone could protect them.
Another reason is that naming the families after the men was a convenient filing system. A man named Uzzi might have three wives, but all those sons were the sons of Uzzi. Women didn’t have three husbands. That would make a woman part of the commons. Today we are familiar with “the tragedy of the commons”: if nobody owns you, nobody loves you.