In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'a group of people playing soccer on a field of grass'. Count the number of verbs in this sentence.

Answer: 1


Question: Sentence: 'A collection of books and knick-knacks on shelves'. Count the number of nouns in this sentence.

Answer: 5


Question: Sentence: 'Two cakes sit on a countertop cooling rack'. Count the number of nouns in this sentence.

Answer:
3