Input: Sentence: 'Mac and cheese sub with some fries on the side'. Count the number of nouns in this sentence.
Output: 4