Input: Sentence: 'A man and two children pose for a picture in a snowy landscape'. Count the number of nouns in this sentence.
Output: 4