TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'Group of pilots displaying protest messages behind fenced area'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A large white polar bear eating a carrot'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'A restaurant sitting by the side of the ocean'. Count the number of verbs in this sentence.

SOLUTION:
1