Input: Sentence: 'The frisbee is in the air in front of a man who is running'. Count the number of nouns in this sentence.
Output: 4