Counting individual galaxies from deep 24-μm Spitzer surveys