Input: Sentence: 'Old man in a white outfit swinging at a tennis ball with a racket'. Count the number of nouns in this sentence.
Output: 5