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 small kitchen counter with appliances and a shelf'. Count the number of verbs in this sentence.

SOLUTION: 0

PROBLEM: Sentence: 'A young child sleeping sideways on a bed full of books and toys'. Count the number of nouns in this sentence.

SOLUTION:
4