There are a problem when running a code on tool-labs. There is a code written for getting stats of sysops activities, but this code, which run on tool-labs, doesn't give the right results.
for example, In Arabic wikipedia there are 35 sysops, but when running the code, it recognize only 34 sysop, which mean there is a user that not in the list. In the past, there are another sysop that also not in the list, but she was resigned. The only thing that connect between the two users is that they get the sysop's rights in the same day!.
On the other hand, when I run the query used in the code on Quarry, it give the exact results. http://quarry.wmflabs.org/query/9171