TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'There is a silver and blue fire hydrant on a grass field'. Count the number of nouns in this sentence.

SOLUTION: 5

PROBLEM: Sentence: 'The jar that is left out on the table is dirty'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'A cat lays on top of a shelf'. Count the number of nouns in this sentence.

SOLUTION:
3