stats objecst now keep track of num_failures
make the max items include failures, not just successes