Input: Sentence: 'Three people smile as they pose in skis and poles'. Count the number of nouns in this sentence.
Output: 3