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 clean bathroom is seen in this image'. Count the number of nouns in this sentence.
[A]: 2


[Q]: Sentence: 'a black pan with an unbaked pizza on it'. Count the number of nouns in this sentence.
[A]:
2