Updates comments of countDuplicate