Input: Sentence: 'a person on skis ride through the snow'. Count the number of nouns in this sentence.
Output: 3