Input: Sentence: 'A griaffe standing in a meadow staring at the photographer'. Count the number of nouns in this sentence.
Output: 3