It happened after the plague, that the LORD spoke to Moshe and to El`azar the son of Aharon the Kohen, saying,
As the LORD commanded Moshe, so he numbered them in the wilderness of Sinai.
for they vex you with their wiles, with which they have deceived you in the matter of Pe`or, and in the matter of Kozbi, the daughter of the prince of Midyan, their sister, who was slain on the day of the plague in the matter of Pe`or.
Those who died by the plague were twenty-four thousand.