Input: Sentence: 'A plate of small waffles with blueberries, apples, and syrup'. Count the number of nouns in this sentence.
Output: 5