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

Ex Input:
Sentence: 'A group of men sitting next to each other on a bench'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A person holding a bottle while riding a skateboard'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'The actions of baseball players take place in a game'. Count the number of nouns in this sentence.

Ex Output:

5