Input: Sentence: 'There is a person playing with a frisbee'. Count the number of nouns in this sentence.
Output: 2