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