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

Input: Consider Input: Sentence: 'Various street signs that read Danforth avenue'. Count the number of verbs in this sentence.

Output: 1

Input: Consider Input: Sentence: 'A group of men walk down a path with a group of ox'. Count the number of nouns in this sentence.

Output: 5

Input: Consider Input: Sentence: 'While the pitcher is winding up for the pitch, the runner is ready to react'. Count the number of nouns in this sentence.
Output: 3