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

Ex Input:
Sentence: 'An adult polar bear with two baby bears following on the snow'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A man sleeping on a wooden bench next to a bag of luggage'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A long and narrow modern living room with two windows'. Count the number of verbs in this sentence.

Ex Output:

0