The minimal length of a Lagrangian cobordism between Legendrians