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

Ex Input:
Sentence: 'a white horse is gazing across the field'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A oil tanker train on the tracker with mountains in the background'. Count the number of verbs in this sentence.

Ex Output:
0


Ex Input:
Sentence: 'A dark colored bird sits on a branch of a tree'. Count the number of nouns in this sentence.

Ex Output:

3