Input: Sentence: 'A colorful bird sits in a grassy area'. Count the number of nouns in this sentence.
Output: 2