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

[Q]: Sentence: 'A barge floating down a river towards a city'. Count the number of nouns in this sentence.
[A]: 3


[Q]: Sentence: 'A person holding a bottle while riding a skateboard'. Count the number of nouns in this sentence.
[A]: 3


[Q]: Sentence: 'A train that is sitting on the tracks next to the grass'. Count the number of verbs in this sentence.
[A]:
1