Input: Sentence: 'A bunch of broccoli chopped up on a chopping board'. Count the number of nouns in this sentence.
Output: 3