Input: Sentence: 'A man in green feeding an elephant a bottle'. Count the number of nouns in this sentence.
Output: 3