Input: Sentence: 'A close shot of a butterfly near oranges'. Count the number of nouns in this sentence.
Output: 3