I cooked this up in 10m | ScratchStats