Count Duplicate Case in Single Day Or Multiple Day

Hi Team,
I want to calculate no duplicate ANI repeating on Same day and different day in the single component KPI.

Ex. A is repeated twice in a day so the count should be 2 but B&C’s data is not repeated on same date, then it has sum as 4. if A repeat one more time in 5th Oct then count of Repeating on the different day will be 5.

Thanks