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 boat with emergency lights on it sitting in a harbor'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A baseball player stands ready at the plate'. Count the number of nouns in this sentence.

SOLUTION:
3