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

Ex Input:
Sentence: 'A man in a diner holding two baskets of sandwiches'. Count the number of nouns in this sentence.

Ex Output:
4


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: 'A lady riding a rodeo horse preparing to round a barrel'. Count the number of nouns in this sentence.

Ex Output:

4