In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A duckling swims in a pond and catches some food'. Count the number of nouns in this sentence.

Answer: 3


Question: Sentence: 'Different assortment of noodles and vegetables sitting in a pot and tray'. Count the number of verbs in this sentence.

Answer: 2


Question: Sentence: 'A cake with a train on a track and a ground made of cookies'. Count the number of nouns in this sentence.

Answer:
5