Input: Sentence: 'a blender near a stove with an open flame'. Count the number of nouns in this sentence.
Output: 3