Implemented edge_count_score method in Synthesis class.