Fix a bug with frame count option for `can_stress`

It usually sent far fewer than specified.