Added printing of overall statistics.