Print statistics to stdout