Numpy Count Function In Python Examples Using Functions