remove double-change count, and only increment for actual changes