In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'a man is sitting in front of a computer at a desk'. Count the number of verbs in this sentence.

Answer: 1


Question: Sentence: 'A red open fire hydrant spewing water from it'. Count the number of nouns in this sentence.

Answer: 3


Question: Sentence: 'A tabby cat staring into a blue bucket with apples in it'. Count the number of nouns in this sentence.

Answer:
3