I agree with the above.
To determine the shaft position of a stepper after power down, you have only two options. One is to use an absolute rotary shaft encoder, the other is to “home” the stepper upon power up, using a limit switch (and rotate back to original position).