Input: Sentence: 'there is a plate with different food and vegetables on it'. Count the number of nouns in this sentence.
Output: 3