Add value diff and max count value