Fixed the approximate total rows calculation when reading data in reverse order from MergeTree tables.
Why it matters
This fix addresses an issue where the approximate count of total rows was incorrect during reverse reading operations on MergeTree tables. It ensures accurate row count estimations, improving query planning and performance metrics for users relying on reverse data scans.How to use it
This fix is applied automatically after upgrading to the version containing this change. No additional user configuration is required to benefit from the corrected approximate rows accounting in reverse reading scenarios.