Input: Sentence: 'A close-up of a yellow fire hydrant surrounded by flowers'. Count the number of nouns in this sentence.
Output: 5