Input: Sentence: 'A group of young people riding skis in the snow'. Count the number of nouns in this sentence.
Output: 4