Increment Numpy array with repeated indices,"array([0, 0, 2, 1, 0, 1])"