TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A boat flies its flag while sailing just off a pier'. Count the number of verbs in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a couple of kids are playing a soccer game'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'A modern bathroom features a shower as well as a toilet'. Count the number of verbs in this sentence.

SOLUTION:
1