Input: Sentence: 'A black and white photograph of a group of skiers on a snowy slope'. Count the number of nouns in this sentence.
Output: 4