Input: Sentence: 'a plate with some meat and beans on it'. Count the number of nouns in this sentence.
Output: 3