How does the Approach S20 calculate how many steps I take? GPS would be inaccurate I believe because I walk indoors 2-3 miles a day. Does the watch sense feet contacting the ground? Does it calculate steps via arm swing?

How does the Approach S20 calculate how many steps I take? GPS would be inaccurate I believe because I walk indoors 2-3 miles a day. Does the watch sense feet contacting the ground? Does it calculate steps via arm swing?