Input: Sentence: 'A man holding a tennis racquet on a tennis court'. Count the number of nouns in this sentence.
Output: 5