Input: Sentence: 'a pair of zebras in a fenced in area'. Count the number of nouns in this sentence.
Output: 3