Input: Sentence: 'Two hot dogs with chili, cheese and tomatoes'. Count the number of nouns in this sentence.
Output: 4