Input: Sentence: 'A bright red fire hydrant is in the grass'. Count the number of nouns in this sentence.
Output: 3