Input: Sentence: 'A woman on skis is being pulled by a dog'. Count the number of nouns in this sentence.
Output: 3