DM.2.C: Determine the valences of the vertices of a graph.