Input: Sentence: 'A person standing in a room with a microwave'. Count the number of nouns in this sentence.
Output: 3