Input: Sentence: 'A baby elephant standing next to a larger elephant'. Count the number of nouns in this sentence.
Output: 3