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

Ex Input:
Sentence: 'A street has a traffic light, a parked bicycle, and a car on it'. Count the number of verbs in this sentence.

Ex Output:
2


Ex Input:
Sentence: 'A beautiful hipster woman standing behind a red eyed teddy bear'. Count the number of nouns in this sentence.

Ex Output:
3


Ex Input:
Sentence: 'A surfer rides a tall crashing wave onto the beach'. Count the number of nouns in this sentence.

Ex Output:

3