NVALUES
NVALUES(x) gives the number of values including missing values and taking account of any restriction.