[FEAUTRE] More statistics in compute_gain.