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

Ex Input:
Sentence: 'A man brushing his teeth with a tooth brush'. Count the number of nouns in this sentence.

Ex Output:
4


Ex Input:
Sentence: 'A woman riding a surfboard on top of a wave in the ocean'. Count the number of verbs in this sentence.

Ex Output:
1


Ex Input:
Sentence: 'A man riding a skateboard on a walkway surrounded by people'. Count the number of verbs in this sentence.

Ex Output:

2