Input: Sentence: 'A man jumping up into the air next to a red fire hydrant'. Count the number of nouns in this sentence.
Output: 4