replace.py: report number of changed pages

Aligned with compact.
Number of saved pages in now reported at end of execution.

Bug: 71828
Change-Id: I862dea5809abac8298efbede9adec463a31205db
Merge "replace.py: report number of changed pages"