pub fn global_triangle_count<NI, G>(graph: &G) -> u64where
    NI: Idx,
    G: Graph<NI> + UndirectedNeighbors<NI> + Sync,