Input: Sentence: 'a elephant stands next to another elephant'. Count the number of nouns in this sentence.
Output: 2