Input: Sentence: 'Two men play against each other in a tennis match'. Count the number of nouns in this sentence.
Output: 3