I got curious and looked through sources. I'm not sure where it was added, but it appeared between 4.3BSD and the 4.3BSD Tahoe edition according to the man pages. It did not seem to be present in System III. Searching for actual uses, I didn't find any that weren't testing the functionality (unit tests) or hacking the stack.
Perhaps you could print non-tabulated numbers until you run close to the end of line and be counting the characters with %n. Then you can print a new line, set your counter to zero, and continue.
%n: Print nothing, but writes the number of characters successfully written so far into an integer pointer parameter.