Input: Sentence: 'A woman hitting a tennis ball with her racquet'. Count the number of nouns in this sentence.
Output: 4