The query you’ve been using could potentially be referring to multiple files having the title “Moonlight”, and field totalpage, so it presents the result as a list. Albeit with only one item, but still a still a list.
One question.
I have tested by changing the File Name and the yaml field - title.
It looks like that dv.page(‘Moonlight’) seems to refer to the “File Name”.
Is there any method to refer to the yaml field with dv.page()?
It do refer to the file name. If you want it to refer to the yaml field, you’ll also need to do some other magic to avoid the list case. Like selecting only the first entry in the list, limiting to one result, or similar stuff.