How to input the number of different diameter distances

Prescribe the number of different diameter distances which must occur in the diameter distance structure of a tone row. I.e. choose a number from 1 to 5.
Database on tone rows and tropes
harald.fripertinger "at" uni-graz.at
January 2, 2019