Those who died in the plague numbered 24,000.
1 Corinthians 10:8
We should not commit sexual immorality, as some of them did - and in one day twenty-three thousand of them died.
There are several different resolutions offered for these verses. The three most common are:
It seems to me that 1 and 2 are the most likely. 1 Cor 10:7-10 actually lists four different plagues that occurred while the Israelites were in the desert. The plague in v. 8 is described as being punishment for sexual immorality in particular, which played a greater part in the Shittim incident than the golden calf incident.
Other responses (offsite)
Top of page