Input: Sentence: 'A waffle and chicken sandwich with syrup on top'. Count the number of nouns in this sentence.
Output: 5