Oops, missed a place that knows the number of vertices.