The sum of the degrees of the vertices is twice the number of edges. If there are e edges then 2e = (50)(100), so e = 2500.