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

Ex Input:
Sentence: 'a man with a white surfboard riding a small wave'. Count the number of verbs in this sentence.

Ex Output:
1

Ex Input:
Sentence: 'A picture of a cat looking at its reflection in the water'. Count the number of nouns in this sentence.

Ex Output:
4

Ex Input:
Sentence: 'A desk with two monitors, a keyboard and keys on it'. Count the number of nouns in this sentence.

Ex Output:
4