Added new function to count missing values in each of the predictors