TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A couple of people on a horse pulled carriage'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'Group of pilots displaying protest messages behind fenced area'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A painted face on a gray fire hydrant'. Count the number of nouns in this sentence.

SOLUTION:
3