Linecount for Multigraph