In this task, you need to count the number of nouns/verbs in the given sentence.

Q: Sentence: 'A dog sits on a bed next to a cellphone and a pen'. Count the number of nouns in this sentence.

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

A: 4
****
Q: Sentence: 'A double decker bus is headed for the next stop'. Count the number of nouns in this sentence.

A:
3
****