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

Ex Input:
Sentence: 'a man is pulling is surfboard towards the water'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'The skateboarder in jeans and t-shirt stands on the pavement next to the skateboard'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'Three boats docked next to a shore in water'. Count the number of nouns in this sentence.

Ex Output:
3