Footstep counter