I have tables like following I'd like to count duplicate and assign them.
customer date type
A 2020/8/1 a
A 2020/8/1 b
B 2019/5/1 a
B 2019/6/1 c
I'd like to count duplicate in customeranddate the, assign the number of duplicate of them.
["customer,"date"]
customer date type duplicate
A 2020/8/1 a 2
A 2020/8/1 b 2
B 2019/5/1 a 1
B 2019/6/1 c 1
If someone has opinion to assign the number of duplicated rows. Please let me know. thanks