TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'Nighttime lights and traffic along a city street'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A person on a field swinging a tennis racket'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'A bird with a long beak wades in algae-covered water'. Count the number of verbs in this sentence.

SOLUTION:
2