v.23.1Improvement

Fix output_format_pretty_row_numbers to Preserve Counter Across Blocks

Fix output_format_pretty_row_numbers does not preserve the counter across the blocks. Closes #44815. #44832 (flynn).
Fixes the output_format_pretty_row_numbers so that the row number counter is preserved across data blocks.

Why it matters

This fix addresses the issue where the row numbering reset between blocks when using the output_format_pretty_row_numbers. Preserving the counter across blocks ensures continuous and accurate numbering in the formatted output, improving readability and consistency.

How to use it

Use the output_format_pretty_row_numbers output format as usual. With this fix applied, the row numbers will now correctly continue across multiple blocks without resetting.