Added permission checks to the moderation counter