Input: Sentence: 'A young man playing a game of Frisbee'. Count the number of nouns in this sentence.
Output: 2