Asymptotics for the length of a minimal triangulation on a random sample