Input: Sentence: 'A bear is walking around a very dense, green area'. Count the number of nouns in this sentence.
Output: 2