instruction:
In this task, you need to count the number of nouns/verbs in the given sentence.
question:
Sentence: 'A dog sits on a bed next to a cellphone and a pen'. Count the number of nouns in this sentence.
answer:
4

question:
Sentence: 'A group of men sitting next to each other on a bench'. Count the number of verbs in this sentence.
answer:
1

question:
Sentence: 'A vase with flowers is displayed next to a handmade object'. Count the number of nouns in this sentence.
answer:
3