It might require a bit of Python knowledge, but even if you don't have much, you could still get some ideas from it. Check it out!
OP, if you decide to follow that article make sure you copy chainstate folder first and perform work on that copy. If you're not being careful, you might corrupt the chainstate which force to perform reindex which take hours.
Wrong, Bitcoin Core doesn't have address index and snapshot feature which is necessary for OP works. That means OP need different software to generate the stats or write one by himself.
pywallet is software to restore wallet, not obtaining stats from blockchain stored by Bitcoin Core.