TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A man sitting in front of a computer taking a bit out of a pastry and holding a drink'. Count the number of nouns in this sentence.

SOLUTION: 6

PROBLEM: Sentence: 'A man on a scooter sits beside a stop sign'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A barge floating down a river towards a city'. Count the number of nouns in this sentence.

SOLUTION:
3