Input: Sentence: 'A plate of food and a glass of liquid'. Count the number of nouns in this sentence.
Output: 4