get_multiedge_count function

Get the count of multiple edges