Numpy Count Function In Python Examples Using While Loop