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: 'Several people in beach chars while two children fly a kite on the sea shore'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'A cat is resting its head on a notepad'. Count the number of nouns in this sentence.

SOLUTION:
3