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

Input: Consider Input: Sentence: 'A baseball player attempting to slide into a base'. Count the number of verbs in this sentence.

Output: 2

Input: Consider Input: Sentence: 'a close up of a urinal and a device next to it'. Count the number of nouns in this sentence.

Output: 2

Input: Consider Input: Sentence: '9 donuts and a piece of another donut in a Dunkin Donuts box'. Count the number of verbs in this sentence.
Output: 0