Input: Sentence: 'A hot dog sitting on a plate and in a bun with other food items'. Count the number of nouns in this sentence.
Output: 5