Input: Sentence: 'A kitchen with tiled floors and walls and a small stove'. Count the number of nouns in this sentence.
Output: 4