Input: Sentence: 'A sandwich with sweet potato fries on a yellow plate'. Count the number of nouns in this sentence.
Output: 4