Revised calculation of no. repeats