Input: Sentence: 'A man and a woman stand next to an open box of doughnuts'. Count the number of nouns in this sentence.
Output: 4