Input: Sentence: 'A man with an orange shirt hurls a frisbee in front of him'. Count the number of nouns in this sentence.
Output: 4