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

Ex Input:
Sentence: 'A tennis player getting ready to hit the ball'. Count the number of verbs in this sentence.

Ex Output:
2

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: 'Two men are in a cart going down the beach'. Count the number of nouns in this sentence.

Ex Output:
3