Input: Sentence: 'A pizza sitting on top of a metal stove'. Count the number of nouns in this sentence.
Output: 4