[stats] implemented get duplication number