Input: Sentence: 'Two shots of a woman swinging at a tennis ball'. Count the number of nouns in this sentence.
Output: 4