Fixed function counter when Zephir is in release mode