Printing total edges