Numpy Count Function In Python String