Input: Sentence: 'Two glasses of red wine with a piece of bread and cheese in between'. Count the number of nouns in this sentence.
Output: 5