add progress statistic to training.