Input: Sentence: 'a person riding skis on a snowy slope'. Count the number of nouns in this sentence.
Output: 3