Add sum/count_ps to timers and fix a bug where percentile can't be equal

to the min value in stat_accum_input