Input: Sentence: 'A man holding two plates of food with a white apron on'. Count the number of nouns in this sentence.
Output: 4