Input: Sentence: 'an old black stove and some pots and food on a shelf'. Count the number of nouns in this sentence.
Output: 4