FLASH- RAM Speed+
Observe the output .lst file when it makes sense.
counter += value > maxValue;
if ( value > maxValue )
counter++;