Input: Sentence: 'Mother and child elephants in a zoo enclosure'. Count the number of nouns in this sentence.
Output: 5