This method of the Direct3dRMMeshBuilder Class retrieves the number of vertices.
public int getVerticesSize();
Returns the number of vertices.
getVertices