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: 'A person surfing under a wave in the ocean'. Count the number of nouns in this sentence.
[A]: 3


[Q]: Sentence: 'A bathroom inside of a house in a well lighted room'. Count the number of verbs in this sentence.
[A]:
1