Input: Sentence: 'A red fire hydrant sits in the forest'. Count the number of nouns in this sentence.
Output: 3