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

Ex Input:
Sentence: 'a small black dog is playing with a green toy'. Count the number of nouns in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A group of zebra standing in a grass field'. Count the number of verbs in this sentence.

Ex Output:
0


Ex Input:
Sentence: 'a man who is skiing in the snow'. Count the number of verbs in this sentence.

Ex Output:

1