A stupid utility to compute index stats...