TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A hot dog with toppings sits next to fries'. Count the number of nouns in this sentence.

SOLUTION: 3

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: 'Two pictures of a black cat sitting next to shoes'. Count the number of nouns in this sentence.

SOLUTION:
3