Input: Sentence: 'A man is preparing to throw a Frisbee as he stands in a park'. Count the number of nouns in this sentence.
Output: 2