The step counter register is providing the actual steps you are moving.
You can try to reset the step counter then walking for while then compare the step counter register value with your ground truth.
To make sure the step counter feature working properly, the configure string should be download correctly, sensor should be put into normal or low power mode with at least 25Hz ODR.
... View more