Input: Sentence: 'a brown bear sitting down and looking into the water'. Count the number of nouns in this sentence.
Output: 2