NMV

NMV(x) counts the number of missing values in x.