step_count function

Get step count