Fixed difference counting logic