This article outlines how I use a pre-commit hook and cog to keep my blog stats updated automatically.
Feel like exercising your brain? Have a go at one of the problems I have for you.