Input: Sentence: 'A close up view of a zebra is shown in the grass'. Count the number of nouns in this sentence.
Output: 3