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

Ex Input:
Sentence: 'A very long crane truck driving past a very tall building'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A colorful glass vase is casting a shadow'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A group of commuters standing next to a passenger train'. Count the number of nouns in this sentence.

Ex Output:

4