Calculate Percentage of Completed Checklist for the Current File

I want to show percentage in text for completed checklists in the current open file.

The closest solution I reached was mentioned here Certain task completion percentage by @Adk

Difference in my request with the one mentioned above;
I don’t have long term habits and not necessarily tracking; instead calculating percentage for a single file only

I have created a new topic only because the mentioned thread is locked