In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'There is a man walking towards the waves'. Count the number of nouns in this sentence.

Answer: 2

Question: Sentence: 'A steam engine train rumbles down the tracks'. Count the number of nouns in this sentence.

Answer: 4

Question: Sentence: 'River with ducks swimming in it surrounded by leafless trees and brown grass'. Count the number of nouns in this sentence.

Answer:
4