TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'Two people with dogs walking by a modern building in a city'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A blue and silver motorcycle parked on a beach'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'A sandwich cut in half on a tray on a table'. Count the number of nouns in this sentence.

SOLUTION:
4