countInf function

Count number of infinite or missing values