Input: Sentence: 'A male tennis player serving the tennis ball'. Count the number of nouns in this sentence.
Output: 4