Was doing all sorts of javascript jujitsu to count characters of documents in Obsidian using Dataview, and turns out file.size is a perfect proxy.

Roberto Mateu @roberto