add sum to stats