Input: Sentence: 'Pots and pans on the stove In a nice kitchen'. Count the number of nouns in this sentence.
Output: 4