Input: Sentence: 'A man in tights holding a pair of skis'. Count the number of nouns in this sentence.
Output: 4