Fixing segfault in /arithmetics counters