Input: Sentence: 'A sitting zebra is near a standing zebra and a giraffe'. Count the number of nouns in this sentence.
Output: 3