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

Ex Input:
Sentence: 'Man poses for picture with his dog while sitting on a bench'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A boy doing a trick with a skateboard on a ramp'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A baby elephant standing next to a larger elephant'. Count the number of verbs in this sentence.

Ex Output:

1