module to compute stats about qslinks: distances and types