export function count(iterable: Iterable): number { let count = 0 for (const _ of iterable) { count++ } return count }