You could return 0 here and avoid the `if result is not None:` check in `incr_stat`.