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

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 people surfing in the sea and flying kites'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A man standing in his room dressed in formal wear'. Count the number of verbs in this sentence.

Ex Output:

2