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

Ex Input:
Sentence: 'Two men are cutting into a cake with icing'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'a close up of a urinal and a device next to it'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'Two trains idle on the platform at a train station'. Count the number of nouns in this sentence.

Ex Output:

4