Input: Sentence: 'A hot dog with toppings sits next to fries'. Count the number of nouns in this sentence.
Output: 3