Input: Sentence: 'three zebras near one another on a dirt ground'. Count the number of nouns in this sentence.
Output: 3