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

Ex Input:
Sentence: 'A person surfing under a wave in the ocean'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'Two beds set right next to each other in a room'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A dog is in the grass trying to catch a frisbee'. Count the number of nouns in this sentence.

Ex Output:

3