OmniFocus Statistics using Automation?

Has anybody implemented a more modern version of the old OmniFocus statistics script using the new automation tools?

What kind of statistics are you expecting ?

For me pretty basic:
Inbox count
Over due count
Due soon count
Available tasks
Projects not on hold
And a few others.
Easy enough to implement, but if someone else has already done a nice job of it (like in the old AppleScript for stats in OF1 and OF2), no need to redo that work!

Good news ! Do share when you’ve done it.

I will! I’ll queue it up to work on during my next long flight, which is when I typically get to these type of fun projects…

(So, don’t anyone be holding your breath waiting for me.)