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

Ex Input:
Sentence: 'A cat that is laying down on a bed'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'a kitchen with a bunch of food in boxes and bananas hanging from hooks'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'A tennis player standing on the court with the ball on the ground'. Count the number of nouns in this sentence.

Ex Output:
5