TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A sandwich with lettuce and tomatoes sits on a box in a park'. Count the number of nouns in this sentence.

SOLUTION: 5

PROBLEM: Sentence: 'A homeless man sleeping on a city bench'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A toilet with a cellophane wrapper on the seat rests against a shower curtain alongside packaging and a stick of wood'. Count the number of verbs in this sentence.

SOLUTION:
1