Input: Sentence: 'A zebra standing in the grass next to a tree'. Count the number of nouns in this sentence.
Output: 4