TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A person is fixing a sail on a boat'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'Two girls with painted faces sit on the sidewalk'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A man petting a horse's face while a woman stands behind next to another horse'. Count the number of nouns in this sentence.

SOLUTION:
5