Input: Sentence: 'Different assortment of noodles and vegetables sitting in a pot and tray'. Count the number of nouns in this sentence.
Output: 4