Input: Sentence: 'A large group of ripe bananas in a wicker basket'. Count the number of nouns in this sentence.
Output: 4