They distributed gifts to the priests who were listed by their families in the genealogical records, and to the Levites twenty years old or older who were listed according to their jobs and their divisions.
So this was the total of all those from the Kohathite clans who were eligible to serve at the Tabernacle. Moses and Aaron listed them, just as the Lord had commanded through Moses.