perhaps - this PR is concerned with optimizing the existing production code path (which right now is HoC + 20h scripts). for the new scripts we will write `script_level.stage.script_levels.count` which won't have this issue.