Input: Sentence: 'There is a silver and blue fire hydrant on a grass field'. Count the number of nouns in this sentence.
Output: 5