Add min/max to stats api