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

Ex Input:
Sentence: 'an older person holding an open umbrella'. Count the number of nouns in this sentence.

Ex Output:
2

Ex Input:
Sentence: 'a group of people playing soccer on a field of grass'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'A pawn shop on the corner of two streets'. Count the number of verbs in this sentence.

Ex Output:
0