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 giraffe with many spots standing in a field'. Count the number of verbs in this sentence.
[A]: 1


[Q]: Sentence: 'Two small beds are sitting side by side'. Count the number of nouns in this sentence.
[A]:
3