Input: Sentence: 'A plate with a piece of food next to a pile of cheese broccoli'. Count the number of nouns in this sentence.
Output: 6