In this task, you need to count the number of nouns/verbs in the given sentence.

[EX Q]: Sentence: 'A collection of books and knick-knacks on shelves'. Count the number of nouns in this sentence.
[EX A]: 5

[EX Q]: Sentence: 'A cup of black coffee, biscuits, a piece of meat and grits on a table'. Count the number of verbs in this sentence.
[EX A]: 0

[EX Q]: Sentence: 'An older man sits on a bench while gazing at the water'. Count the number of nouns in this sentence.
[EX A]:
3