Input: Sentence: 'Two men ski down the slope of a mountain'. Count the number of nouns in this sentence.
Output: 3