Implement statistics functions into output results.