TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A bird with a long beak wades in algae-covered water'. Count the number of verbs in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a sub sandwich wrapped in some paper and cut in half'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A man wearing a orange shirt is throwing a frisbee'. Count the number of nouns in this sentence.

SOLUTION:
3