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 couple of horses standing in the middle of a road'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Two colorful peacocks walking towards a brown wooden bench'. Count the number of verbs in this sentence.

Ex Output:

1