(1) Add header on distance population (2) Print index length on each record