Labelling line segments with number

Hi everyone! I am wondering how I can put label of number on line segments just like how we do it on point list

  1. Curve
  2. Explode
  3. Evaluate Curve / Curve Middle / Point on Curve
  4. Point List