In this task, you need to count the number of nouns/verbs in the given sentence.
--------
Question: Sentence: 'a cat sitting on a desk with keyboard and a computer mouse'. Count the number of nouns in this sentence.

Answer: 5

Question: Sentence: 'Two people with dogs walking by a modern building in a city'. Count the number of nouns in this sentence.

Answer: 4

Question: Sentence: 'The large red stop sign is hanging up'. Count the number of nouns in this sentence.

Answer:
2