**Steps to reproduce:**
Run the command
```
python3 pwb.py commonscat -start:! -lang:ary
```
**Example of Output:**
```
>>> گيليز <<<
@@ -13,0 +14 @@
+ {{Commonscat|Guéliz}}
Page [[گيليز]] saved
>>> گيگو <<<
1926 pages read
0 pages written
0 pages skipped
Execution time: 7041 seconds
Read operation time: 3.7 seconds
Script terminated successfully.
```
**Actual result:**
The script runs successfully but the counter of written pages is always zero although the bot already edited many pages.
**Expected result:**
The script should have displayed the actual number of written (edited) pages which is several hundred edits. ([[https://ary.wikipedia.org/w/index.php?title=%D8%AE%D8%A7%D8%B5:%D9%85%D8%B3%D8%A7%D9%87%D9%85%D8%A7%D8%AA/MenoBot&dir=prev&offset=20200913180524&limit=500&target=MenoBot | Link]])
**Version information:**
```
Pywikibot: [https] r-pywikibot-core.git (7ff0f5a, g13111, 2020/09/13, 10:29:52, master)
Release version: 4.4.0.dev0
requests version: 2.21.0
cacerts: /etc/ssl/certs/ca-certificates.crt
certificate test: ok
Python: 3.5.3 (default, Jul 9 2020, 13:00:10)
[GCC 6.3.0 20170516]
```