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

Input: Consider Input: Sentence: 'A black and white image of a park bench'. Count the number of verbs in this sentence.

Output: 0

Input: Consider Input: Sentence: 'Painting of a large elephant walking through an open field by itself'. Count the number of nouns in this sentence.

Output: 3

Input: Consider Input: Sentence: 'A boy holds a white frisbee with a purple paw print on it'. Count the number of verbs in this sentence.
Output: 1