Reformat categorisation statistics output.

Making it clearer (hopefully) and self-explanatory.