Thanks @TwistedTwigleg , unfortunately I got '0' vertcount when 'print(mdt.get_vertex_count())'
I do this:
func _ready():
var mesh = get_node("Mesh")
var mdt = MeshDataTool.new()
mdt.create_from_surface(mesh)
print(mdt.get_vertex_count())
I read on MeshDataTool that I need to give it an ArrayMesh, but in the Docs for ArrayMesh I can only see Mesh generation from scratch, not for loading in an existing Mesh.
So Im a bit stranded here.