Counter for artifacts should not be updated too early.