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 parking meter in front of a car'. Count the number of nouns in this sentence.

Answer: 4


Question: Sentence: 'The crowd behind the fence watches the woman playing tennis'. Count the number of nouns in this sentence.

Answer:
4