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

Ex Input:
Sentence: 'A woman wearing glasses with a cat on her neck'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A zebra in the sun on a dirt road'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Two yellow plates have a red bird on them while one has a yellow bird on it'. Count the number of nouns in this sentence.

Ex Output:

3