The sum over all elements of the edge adjacency matrix