The sum of values in each page for a text box in a data region can be obtained by using ReportItems. The ReportItems adds the values in the whole page regardless of scope while the Sum function adds the values for each group by specifying the scope (that is group name) as the second argument.
To obtain sum of TextBox1 that is part of a List or a Table data region for each page, in another text box (TextBox2), set the Value property of TextBox2 to the following expression:
=Sum(ReportItems!TextBox1.Value)
For example, to add a page counter using ReportItems for a Table data region
=Sum(ReportItems!TextBox6.Value)
Go to Preview tab to view the result.