Instructions: In this task, you need to count the number of nouns/verbs in the given sentence.
Input: Sentence: 'Chopped vegetables of carrots, onions, and potatoes seasoned with salt and pepper'. Count the number of nouns in this sentence.
Output:
6