Count Function In Python Numpy Library