I would prefer the later. "Сколько человек вошли в комнату" sounds wrong.