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

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 picture of some people and some animals'. Count the number of verbs in this sentence.

Ex Output:
0


Ex Input:
Sentence: 'A group of volunteers enjoying a meal together'. Count the number of nouns in this sentence.

Ex Output:

3