direct3d11: keep track of the number of vertices we use