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

Ex Input:
Sentence: 'A polar bear stands on a rock surface in a zoo'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A grandfather clock next to wall with windows and paintings'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A bear walks through the trees and on the side of the mountain'. Count the number of nouns in this sentence.

Ex Output:

4