Input: Sentence: 'A group of men standing around each other in a room'. Count the number of nouns in this sentence.
Output: 3