Input: Sentence: 'A large stuffed bear on display in a room'. Count the number of nouns in this sentence.
Output: 3