Input: Sentence: 'Various colored  and sized doughnuts displayed on a shelf'. Count the number of nouns in this sentence.
Output: 2