Input: Sentence: 'Prepared dough placed in a deep fryer on a countertop'. Count the number of nouns in this sentence.
Output: 3