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: 'Two guys giving a thumbs up on their skis'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A man is holding his hands over a barrel'. Count the number of nouns in this sentence.

SOLUTION:
3