Add CDS count function for DEL and DUP