tryiing to get a stepper motor to work on ardiuno

how do you count the steps

You look at the data sheet for your stepper motor. It will tell you that.

Also, the design of the driver will determine whether half steps, quarter steps, or eighth steps are possible.

Or, you experiment...