How to use step counter