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

Ex Input:
Sentence: 'a group of people walking beside a rail train'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'a man with a white surfboard riding a small wave'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A PICTURE OF A GROUP OF PEOPLE PLAYING FRISBEE'. Count the number of nouns in this sentence.

Ex Output:

2