reset after counting lines and don't use shorthand options