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 collection of books and knick-knacks on shelves'. Count the number of nouns in this sentence.

SOLUTION: 5

PROBLEM: Sentence: 'A table with two boxes of pizza and beer cans'. Count the number of nouns in this sentence.

SOLUTION:
5