Input: Sentence: 'A man is sitting in front of a stuffed bear'. Count the number of nouns in this sentence.
Output: 3