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

Ex Input:
Sentence: 'The three giraffes are being kept indoors for being to see'. Count the number of verbs in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'An orange suitcase sits alone on a city street'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A baseball player waiting for the pitch to come his way'. Count the number of verbs in this sentence.

Ex Output:

2