The fix to the bug TOC page numbers and total PageCount are incorrect in some scenarios provided in R2 2023 may have led to another bug, as when I render my report with TOC the total page count is not correct in PrintPreview, although the page number is correct.
For example, on the last page, I see page 126 out of 123.