In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A colorful glass vase is casting a shadow'. Count the number of nouns in this sentence.

Answer: 3


Question: Sentence: 'Two cows that are standing in the grass'. Count the number of nouns in this sentence.

Answer: 2


Question: Sentence: 'a man is riding on a surfboard on the water'. Count the number of nouns in this sentence.

Answer:
3