Numbers 3:39-47
English Standard Version
40And the Lord said to Moses, "List all the firstborn males of the people of Israel, from a month old and upward, taking the number of their names.
41And you shall take the Levites for me — I am the Lord — instead of all the firstborn among the people of Israel, and the cattle of the Levites instead of all the firstborn among the cattle of the people of Israel."
42So Moses listed all the firstborn among the people of Israel, as the Lord commanded him.
43And all the firstborn males, according to the number of names, from a month old and upward as listed were 22,273.
44And the Lord spoke to Moses, saying,
45"Take the Levites instead of all the firstborn among the people of Israel, and the cattle of the Levites instead of their cattle. The Levites shall be mine: I am the Lord.
46And as the redemption price for the 273 of the firstborn of the people of Israel, over and above the number of the male Levites,
47you shall take five shekels per head; you shall take them according to the shekel of the sanctuary (the shekel of twenty gerahs ),