Just for curiosity sake, wouldn’t it be more than 1258?
For example, pretend the pockets are corners and not pockets. You place the cue ball tight to a corner. Now move it a microscopic distance from the side rail, but still on the short rail. Then continue that microscopic movement all the way...