This was the total of the families of Kohath—all who were entitled to do the work of serving in the Tent of Meeting. Moses and Aaron registered them in accordance with the Lord's instructions to Moses.
It was in response to the Lord's instructions that they were registered by Moses. Each of those registered were told what to do and what to carry, as the Lord had ordered Moses.