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

Ex Input:
Sentence: 'A Herd of Elephants in a body of water'. Count the number of verbs in this sentence.

Ex Output:
0

Ex Input:
Sentence: 'A photographer taking picture with a police nearby'. Count the number of nouns in this sentence.

Ex Output:
3

Ex Input:
Sentence: 'A very cute black cat laying on a bed with a suitcase'. Count the number of verbs in this sentence.

Ex Output:
1