Description: The sum of the degrees of all vertices of a finite simple graph is twice
the size of the graph. See equation (1) in section I.1 in Bollobas
p. 4. Also known as the "First Theorem of Graph Theory" (see
https://charlesreid1.com/wiki/First_Theorem_of_Graph_Theory ).
(Contributed by AV, 26-Dec-2021)