I would use a shared variable in the formula. Everytime the new page condition is triggered I would increment the counter.
Depending on where you are displaying this value, you might want to use a global variable. If the count is only going to be used in the subreport, I would a global variable, as it is only seen by the subreport, so I am pretty sure will reinitialize each time the subreport is run to 0.
If you use a shared variable, it might retain its value between calls to the subreport...unless that is what you want.
HTH