TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A group of people having dinner and drinking wine'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A modern living room with a couch and tv'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'Woman and young child riding on a public transit bus'. Count the number of nouns in this sentence.

SOLUTION:
4