In this task, you need to count the number of nouns/verbs in the given sentence.

Input: Consider Input: Sentence: 'A plate topped with a sandwich and french fries'. Count the number of verbs in this sentence.

Output: 1

Input: Consider Input: Sentence: 'a couple of kids are playing a soccer game'. Count the number of nouns in this sentence.

Output: 4

Input: Consider Input: Sentence: 'Two yellow plates have a red bird on them while one has a yellow bird on it'. Count the number of verbs in this sentence.
Output: 2