static long totalIntRangesLength(Iterable l) { long total = 0; fOr (IntRange r : l) total += r.length(); ret total; }