[bugfix] Use the right counter when saving a page
[bugfix] Use the right counter when saving a page

Change-Id: I8cac6ec1ef2936f0916b4978b62b8dd97e8b0b82

wikimedia/pywikibot-core,wikimedia/pywikibot-core