@temberature in this post writes a script to read the value of the metadata field timesViewed whenever the note is opened and increase by one. I’m writing this post just to add more info in case someone needs a better guide on how to use it, and invite more discussion on how to make it better.
You will need to install MetaEdit and Templater plugins.
It seems like if you put this script in a template, it will work for new notes that you create. But what about tracking all the notes you have already created? Is there a way to do this without adding it to each note manually?
In 2023 February, MetaEdit breaks Obsidian - at least it broke mine, and then I lost 2 precious hours with resetting and reconfiguring everything the way it used to be.
MetaEdit doesn’t support the new Obsidian version, it was 7 months ago the plugin was updated the last time.