Input: Sentence: 'a group of white bananas that are on a tree'. Count the number of nouns in this sentence.
Output: 3