Input: Sentence: 'A small brown bear standing in the dirt'. Count the number of nouns in this sentence.
Output: 2