TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A red fire hydrant sits in the forest'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a keyboard that has some lego men on  it'. Count the number of nouns in this sentence.

SOLUTION: 2

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

SOLUTION:
4