How many people are on the elevator?
How many people are on the lift?
Is there any grammatical error if one says lift instead of elevator?
How many people are on the escalator [moving staircase]
How many people are in the elevator/lift [the two words are synonymous and both require "in"]