Input: Sentence: 'A skier is riding the slopes on a snow hill'. Count the number of nouns in this sentence.
Output: 4