replace.py: report number of changed pages
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
magul/pywikibot-core,npdoty/pywikibot,jayvdb/pywikibot-core,xZise/pywikibot-core,smalyshev/pywikibot-core,VcamX/pywikibot-core,PersianWikipedia/pywikibot-core,happy5214/pywikibot-core,happy5214/pywikibot-core,darthbhyrava/pywikibot-local,TridevGuha/pywikibot-core,magul/pywikibot-core,jayvdb/pywikibot-core,valhallasw/pywikibot-core,hasteur/g13bot_tools_new,wikimedia/pywikibot-core,npdoty/pywikibot,Darkdadaah/pywikibot-core,hasteur/g13bot_tools_new,trishnaguha/pywikibot-core,hasteur/g13bot_tools_new,emijrp/pywikibot-core,h4ck3rm1k3/pywikibot-core,Darkdadaah/pywikibot-core,icyflame/batman,h4ck3rm1k3/pywikibot-core,wikimedia/pywikibot-core