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

Ex Input:
Sentence: 'A couple of boats traveling down a river'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'There is a person with a frisbee sitting by the water'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'a plate of food with carrots on a table'. Count the number of verbs in this sentence.

Ex Output:

0