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: 'a small black dog is playing with a green toy'. Count the number of nouns in this sentence.
[A]: 2


[Q]: Sentence: 'Two man in front of a tree holding up items'. Count the number of verbs in this sentence.
[A]:
1