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

Ex Input:
Sentence: 'There is woman texting on a phone holding a tennis racket'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A barefoot man feeding a Husky a treat'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A herd of elephants walking over a rocky area with trees in the background'. Count the number of nouns in this sentence.

Ex Output:

5