log with number of vertices