Count Files in Folder using Dataview

Don’t know why, but I can’t get the code you suggested to work—throws a syntax error:

`$= dv.pages(`"${ dv.current().file.folder }"`).length`

(With apologies to the OP for this hijack, I want to thank you for the help with the game-tracking code. I have been offline for some time so couldn’t reply sooner, and I can’t reply on that thread as it is now locked.)