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

Input: Consider Input: Sentence: 'A tall giraffe standing alone in a forest'. Count the number of verbs in this sentence.

Output: 1

Input: Consider Input: Sentence: 'A man in tights holding a pair of skis'. Count the number of nouns in this sentence.

Output: 4

Input: Consider Input: Sentence: 'A young woman playing a piano in a dark room'. Count the number of verbs in this sentence.
Output: 1