Raise exceptions on counter operations