Input: Sentence: 'Brown bear sitting on the ground eating a stick'. Count the number of nouns in this sentence.
Output: 3