pace counter to count the walking steps