Metadata edit history tracking, statistics

Hi there, I’m wondering if there is a way to track the metadata modifications history to draw some statistics of it

What I’m trying to do

I’m using Classes & Templator combined with Metadata Menu & MetaEdit plugins to work with my notes.
For some notes I’ve ranking metadata field, that is updated pretty often.
I would love to have a history of ranking “variable” values and the dates of update. Kind of log of the matadata value, like:
“1 of 10” - 1st of january 2025
“5 of 10” - 1st of March 2025 etc

Things I have tried

Define variable in frontmatter, Rank: 1 of 10, but even wasn’t able to visualise it in the body of the note with =Rank

How i could imagine it to keep a track: loop for i & j creating matrix M(i,j), where M( i )=Rank and M( j) would be smth like this.Rank.mtime

But to be honest I don’t know how to do it with Obsidian, or even if it’s possible

If your file backups can be accessed programmatically, maybe you could work off of those.