Input: Sentence: 'Two young boys playing a doubles tennis match'. Count the number of nouns in this sentence.
Output: 4