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

[Q]: Sentence: 'Two birds perched on top of a light pole'. Count the number of nouns in this sentence.
[A]: 3


[Q]: Sentence: 'A cut in half sandwich sitting on top of a table next to a foam container'. Count the number of nouns in this sentence.
[A]: 6


[Q]: Sentence: 'The train is sitting under lots of wires and poles'. Count the number of nouns in this sentence.
[A]:
4