TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A modest wooden bench looks out on a spectacular vista of mountains and cliffs'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A sandwich served on a plate with salad'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a white horse is gazing across the field'. Count the number of verbs in this sentence.

SOLUTION:
1