Input: Sentence: 'This meal has a sandwich, onion rings, and a hot dog'. Count the number of nouns in this sentence.
Output: 5