So Moses numbered all the firstborn among the children of Israel, as the LORD commanded him.
Numbers 3:42
Surrounding context
3:41 And you shall take the Levites for Me--I am the LORD--instead of all the firstborn among the children of Israel, and the livestock of the Levites instead of all the firstborn among the livestock of the children of Israel."
3:42 So Moses numbered all the firstborn among the children of Israel, as the LORD commanded him.
3:43 And all the firstborn males, according to the number of names from a month old and above, of those who were numbered of them, were twenty-two thousand two hundred and seventy-three.