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

[Q]: Sentence: 'A person is walking with their dog in a backpack in the park'. Count the number of nouns in this sentence.
[A]: 4


[Q]: Sentence: 'Century old buildings stand near streets in a city'. Count the number of verbs in this sentence.
[A]: 1


[Q]: Sentence: 'A sky light is shining light over a bed'. Count the number of nouns in this sentence.
[A]:
4