Input: Sentence: 'A molting bird standing on a board on a grassy area'. Count the number of nouns in this sentence.
Output: 3