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

Ex Input:
Sentence: 'A public restroom has a stall and a urinal'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'Cupcakes part iced part not with a walnut on top'. Count the number of verbs in this sentence.

Ex Output:
0


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