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

[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 passenger train going by on the tracks'. Count the number of nouns in this sentence.
[EX A]: 3

[EX Q]: Sentence: 'A giraffe is eating out of a kids hand'. Count the number of nouns in this sentence.
[EX A]:
3