Input: Sentence: 'Images of a giraffe and a Zebra in the window'. Count the number of nouns in this sentence.
Output: 3