Input: Sentence: 'Two zebras are both eating grass at the same time'. Count the number of nouns in this sentence.
Output: 3