Input: Sentence: 'A group of people in a room with a remote'. Count the number of nouns in this sentence.
Output: 4