Calculation of average length and turnover frequency