def errors
import bolt@1.27.0.0/src/lint/plan.bend as Planimport Base
import bolt@1.27.0.0/src/finding.bend as F
581# how many are errors
582def errors(gs: List<&2, F.Graded>) -> U32:
583 match gs:
584 case Nil{}:
585 0
586 case Con{F.Graded{ll, _ff}, rest}:
587 errors.at(ll, errors(rest))