fun one(edges: Pair<Edge, Edge>): Int
Number of paths labeled l1 from nodes in out to nodes in middle.