Input: Sentence: 'Man exercising with frisbee on an indoor court'. Count the number of nouns in this sentence.
Output: 3