Definition: In this task, you need to count the number of nouns/verbs in the given sentence.
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