Input: Sentence: 'a large stuffed bear in some kind of building'. Count the number of nouns in this sentence.
Output: 3