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