Input: Sentence: 'Three people are sitting in a room on laptops'. Count the number of nouns in this sentence.
Output: 3