Input: Sentence: 'Two people standing next to a box full of doughnuts'. Count the number of nouns in this sentence.
Output: 3