Input: Sentence: 'Two horses photographed in black and white'. Count the number of nouns in this sentence.
Output: 1