CustomCounters cease to function if it is on an NPC behavior before a restart. This effectively causes server restarts and game save/reloads to break every active NPC that uses a CustomCounter.
CustomSandboxCounters are unaffected by this bug. However, they are not a suitable substitute where multiple NPCs use the same behavior that requires NPC internal counters.