TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A person surfing under a wave in the ocean'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a person eating a hot dog next to other people'. Count the number of nouns in this sentence.

SOLUTION: 3

PROBLEM: Sentence: 'A person holding a cell phone with a picture of grazing cows on it's display'. Count the number of nouns in this sentence.

SOLUTION:
6