fix wrong # of missing values in the orginal dataset (use sum not length to count is.na)