Ah, yes...
The counter is separated for start/end, default, evenly...
So, I guess you should do everything in default pipeline.
For your workflow:
The easiest way should be to go with dividing spline length with segment length (export x size attribute after transform scale) to determinate final number of segments and then use this in mod operation.