fixed formula to compute num new topics