Input: Sentence: 'Two zebras standing near rocks behind a fence'. Count the number of nouns in this sentence.
Output: 3