Speedometer cable length?

I broke the speedometer cable in the 72 Demon (LA 904). I've gotten bunches of little shards of the flex cable out of the outer tube, which is good from the debris stand point, bad from the perspective of trying to replace. I have a replacement cable, I just don't know how long it needs to be trimmed. Does anyone know how long the flexible drive portion of the speedometer cable is?