Numpy Array Count Nans Pandas Syndrome