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

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

Ex Output:
2


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

Ex Output:
2


Ex Input:
Sentence: 'A person in a kitchen with cluttered counters, cutting vegetables in a bowl'. Count the number of nouns in this sentence.

Ex Output:

5