algo4: graph: counting_spanning_trees_in_cactus_graph: Revisited