The total number of male Levites one month old or older was 23,000. But these men were not counted with the other Israelites, because they were not given any of the land among the other Israelites.
The tribe of Levi was the only one that did not get any land. Instead, they were given all the burned sacrifices made to the Lord, the God of Israel, as he had promised them.