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