Move step_count back out of conditional.  Fix example printing.