Input: Sentence: 'A young tennis player hits a tennis ball'. Count the number of nouns in this sentence.
Output: 4