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: 'Buses in a third-world country are colorfully decorated'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'A street that leads to a dead end next to trees'. Count the number of nouns in this sentence.

SOLUTION:
3