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

Ex Input:
Sentence: 'A colorful glass vase is casting a shadow'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A traffic sign sitting on the side of a road'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Two men sit together while one holds a tennis racket'. Count the number of nouns in this sentence.

Ex Output:

3