Input: Sentence: 'A variety of doughnuts are showed in a box'. Count the number of nouns in this sentence.
Output: 3