Num Numbers, chapter Book of Numbers, chapter 1
The Number of Every Tribe
So Moses and Aaron took these men who had been designated by name, and on the first day of the second month they assembled the whole congregation and recorded their ancestry by clans and families, counting one by one the names of those twenty years of age or older, just as the LORD had commanded Moses.
So Moses numbered them in the Wilderness of Sinai:Num 26:64