Input: Sentence: 'There is food on the plate on the table'. Count the number of nouns in this sentence.
Output: 3