Input: Sentence: 'There is a man skiing in the snow'. Count the number of nouns in this sentence.
Output: 2