This method of the Direct3dRMMeshBuilder Class retrieves the number of vertices in a Direct3dRMMeshBuilder object.
public int getVertexCount();
Returns the number of vertices.