TASK DEFINITION: In this task, you need to count the number of nouns/verbs in the given sentence.
PROBLEM: Sentence: 'A very elegant bathroom with marble and accented with red'. Count the number of nouns in this sentence.

SOLUTION: 2

PROBLEM: Sentence: 'A subway train next to the boarding platform'. Count the number of nouns in this sentence.

SOLUTION: 4

PROBLEM: Sentence: 'a man two girls and a brown and black dog'. Count the number of nouns in this sentence.

SOLUTION:
3