In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'A man laughs while sitting on a bench'. Count the number of nouns in this sentence.

Answer: 2


Question: Sentence: 'a cat lays down next to a glass with a straw in it'. Count the number of nouns in this sentence.

Answer: 3


Question: Sentence: 'This is a black and white photo of a train sitting on the tracks'. Count the number of nouns in this sentence.

Answer:
3