TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'People walking across an intersection in the city'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A new refrigerator and a new washer and dryer'. Count the number of verbs in this sentence.

SOLUTION: 0

PROBLEM: Sentence: 'A herd of adult and baby black sheep in a fenced field'. Count the number of nouns in this sentence.

SOLUTION:
5