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

[EX Q]: Sentence: 'A steam engine train rumbles down the tracks'. Count the number of nouns in this sentence.
[EX A]: 4

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

[EX Q]: Sentence: 'a close up of a urinal and a device next to it'. Count the number of nouns in this sentence.
[EX A]:
2