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

Input: Consider Input: Sentence: 'A tennis player getting ready to hit the ball'. Count the number of verbs in this sentence.

Output: 2

Input: Consider Input: Sentence: 'A nearly all white colored bedroom with a brown wooden floor'. Count the number of nouns in this sentence.

Output: 2

Input: Consider Input: Sentence: 'a woman at a carnival ordering food to eat'. Count the number of nouns in this sentence.
Output: 3