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

Ex Input:
Sentence: 'A man in tights holding a pair of skis'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Skier in open area of deep snow near trees'. Count the number of verbs in this sentence.

Ex Output:
0


Ex Input:
Sentence: 'Two elephants standing in an open field near the ocean'. Count the number of nouns in this sentence.

Ex Output:

3