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

Ex Input:
Sentence: 'A guy on a horse on a busy city street'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'a man walking out into the ocean wearing a wetsuit and carrying a surfboard'. Count the number of verbs in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'three bags of luggage on the floor'. Count the number of nouns in this sentence.

Ex Output:

3