debug same_value_counter