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

Ex Input:
Sentence: 'A lone giraffe standing nears the trees on a sunny day'. Count the number of verbs in this sentence.

Ex Output:
1


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 giraffe standing on the grass plans in Africa'. Count the number of nouns in this sentence.

Ex Output:

3