I don't know, but hope someone else does, but the cable doesn't need to be exact, so long as it is "long enough". Use a tape measure and get a rough estimate, noting the curve in the transom area. Getting one close should work
Best method would be to remove, but understand why your asking first
There should be numbers stamped on one end of the cable. If not, remove it and bring it to a local marina, with your engine and drive serial numbers. Or look it up on here in the store. Should be a common part.