Counting the flashes with the key dance should not be difficult at all. The pause between the two digits of each code is shorter than the pause between codes. So for instance, if there is a code 24 (which usually trips a code 12, at the beginning of any stored code; and a 55 end of message):
Turn key ON-OFF-ON-OFF-ON and leave it ON.
FLASH (short pause) FLASH FLASH (long pause) FLASH FLASH (short pause) FLASH FLASH FLASH FLASH (long pause)
FLASH FLASH FLASH FLASH FLASH (short pause) FLASH FLASH FLASH FLASH FLASH.
Turn key ON-OFF-ON-OFF-ON and leave it ON.
FLASH (short pause) FLASH FLASH (long pause) FLASH FLASH (short pause) FLASH FLASH FLASH FLASH (long pause)
FLASH FLASH FLASH FLASH FLASH (short pause) FLASH FLASH FLASH FLASH FLASH.