Input: Sentence: 'A tennis player getting ready to hit the ball'. Count the number of nouns in this sentence.
Output: 3