Input: Sentence: 'two red apples with stickers and two yellow bananas'. Count the number of nouns in this sentence.
Output: 3