To add total page number into RDLC report, you can use =Globals!TotalPages on the textbox.

If you want to reset the Total Page, for example when you print a new Document No., you can set the ResetPageNumber to True under the PageBreak properties.

Using Report Builder
Using Visual Studio Code