Input: Sentence: 'A meat sandwich on a bun and fries'. Count the number of nouns in this sentence.
Output: 4