In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A steam engine train rumbles down the tracks'. Count the number of nouns in this sentence.

Answer: 4


Question: Sentence: 'A lean, gray racehorse being led to a track'. Count the number of nouns in this sentence.

Answer: 2


Question: Sentence: 'a man that has a big basket of bananas in hand'. Count the number of nouns in this sentence.

Answer:
4