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

Ex Input:
Sentence: 'Surfer riding a wave in ocean with surfboard pointed up'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'Two people standing next to a huge wall looking at their cell phones'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A traffic light hanging from a metal pole'. Count the number of verbs in this sentence.

Ex Output:

1