So far I have a list of how many times each hash value is repeated. However, when I sum all the repeated values together it ends up just being the total number of values in the dataset. So how would I count the number of collisions in the data set?
I tried suming all the repeated values together