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: 'A tennis player getting ready to hit the ball'. Count the number of verbs in this sentence.

Answer: 2


Question: Sentence: 'A tray of food with a sandwich on a toasted bun'. Count the number of nouns in this sentence.

Answer:
4