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

[Q]: Sentence: 'A passenger train going by on the tracks'. Count the number of nouns in this sentence.
[A]: 3


[Q]: Sentence: 'a messy room with clothes and a computer'. Count the number of nouns in this sentence.
[A]: 3


[Q]: Sentence: 'Metal signs on two sides of a building'. Count the number of nouns in this sentence.
[A]:
4