const v = await eda.pcb_PrimitiveVia.getAll(); const l = await eda.pcb_PrimitiveLine.getAll(); return {vias: v.length, lines: l.length};