Input: Sentence: 'there are many elephants walking together in the wild'. Count the number of nouns in this sentence.
Output: 2