Input: Sentence: 'many people in a room near tables'. Count the number of nouns in this sentence.
Output: 3