Input: Sentence: 'Man playing tennis at tennis match with spectators looking on'. Count the number of nouns in this sentence.
Output: 5