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: 'Many baskets are stacked on the table beside flowers'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'Two motorcycles leaning on their kickstands on a lawn'. Count the number of nouns in this sentence.

Ex Output:

3