flashCounters updated only when calling `getFlash()` or `getAllFlashes()` method #4066