Input: Sentence: 'some people checking out the trunk of an elephant'. Count the number of nouns in this sentence.
Output: 3