They were to distribute offerings to the priests who were enrolled by families and to the Levites who were at least 20 years old. Distribution was based on the way they served in their divisions.
This was the total of all those in the Gershonite families who worked at the tent of meeting. Moses and Aaron did as the Lord had commanded Moses and registered the Gershonites.