Input: Sentence: 'Skiers in the snow heading towards a cabin in the woods'. Count the number of nouns in this sentence.
Output: 4