If Rabbi Akiva had 24,000 students, then why are we happy they stopped dying by lag baomer, there were no more talmidim to die. If his 5 main students afterwards were part of the total, so 24,005, then are we celebrating that we had 5 who didn't die?
Or did he have more than 24,000?