Python Numpy Number Of Elements In A Set