In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A train on a track in the middle of a neighborhood'. Count the number of nouns in this sentence.

Answer: 4

Question: Sentence: 'A small white and brown dog carrying a red frisbee'. Count the number of nouns in this sentence.

Answer: 2

Question: Sentence: 'a counter that has silverware and glasses on top of it'. Count the number of verbs in this sentence.

Answer:
1