Input: Sentence: 'A chef in a kitchen with a plate of cakes and carafes of red wine'. Count the number of nouns in this sentence.
Output: 6