Input: Sentence: 'A medley of broccoli sprouts on a wooden table'. Count the number of nouns in this sentence.
Output: 4