Number elements along a line

See:

1 Like