The population of near-Earth asteroids