Input: Sentence: 'A view of a plate, with a pizza and broccoli in it'. Count the number of nouns in this sentence.
Output: 4