Do you really need 10,000 steps a day?

We’re often told to walk 10,000 steps per day, but what is the science behind that? Why not 20,000? 5,000? Why step count, and not the type of exercise, intensity, or total minutes?