How does your phone count the steps you take since it’s only on one leg?

Like do I have to double the # of steps I took from what my phone is telling me?