Count Duplicates In Array Numpy Library