TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'a cat lays down next to a glass with a straw in it'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A man with his tennis racket below his waist as the ball moves away from him'. Count the number of verbs in this sentence.

SOLUTION: 1

PROBLEM: Sentence: 'People are enjoying the beach under rainbow umbrellas'. Count the number of nouns in this sentence.

SOLUTION:
4