Pulse Reading from Coin slot to Arduino

Gedon:
Still starting from 0 and not 1 would be a bit more of a convenience to me than finding a way to get rid of the unnecessary 1 on start.

If your pulse count is off-by-one then I suspect you have somehow got the pulse polarity the wrong way round.