Input: Sentence: 'A woman prepares to serve a tennis ball'. Count the number of nouns in this sentence.
Output: 3