Input: Sentence: 'a male tennis player is playing on the court'. Count the number of nouns in this sentence.
Output: 3