Input: Sentence: 'Two zebras hang out by the fence in the zoo'. Count the number of nouns in this sentence.
Output: 3