Input: Sentence: 'A toddler in diapers reaches for an oven control'. Count the number of nouns in this sentence.
Output: 3