וְהַ֨לְוִיִּ֔ם לֹ֣א הָתְפָּקְד֔וּ בְּת֖וֹךְ בְּנֵ֣י יִשְׂרָאֵ֑ל כַּאֲשֶׁ֛ר צִוָּ֥ה יְהוָ֖ה אֶת־מֹשֶֽׁה׃
Mas los Levitas no fueron contados entre los hijos de Israel; como SEÑOR lo mandó á Moisés.
Rashi
But Levi and Benjamin he did not count among them, etc. Joab knew that it would be considered a sin for the people, leading to a plague; Joab therefore said, “I can save these tribes from the census. Concerning Levi, if David says: ‘Why did you not count Levi?’ I shall answer him that they were not counted among the Children of Israel (Num. 2:33). And this is what I shall say about Benjamin: ‘Weren’t they stricken in the episode of the concubine in Gibeah? If they are afflicted now, what will be left of them?’”
Or HaChaim
והלוים…לא התפקדו בתוכם, and the Levites…were not numbered among them. I have explained this in connection with verse 2.