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

Ex Input:
Sentence: 'A couple of people on a horse pulled carriage'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A military airplane is sitting on the runway'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'Tennis player in red shirt and white shorts serves ball'. Count the number of nouns in this sentence.

Ex Output:

5