How many boys are in the room?

Literal

Room [in-には] how-many boys [subject-が] exist [question-か]?

何人 (なんにん) is the question-word counter for people — 'how many people.'