Count missing or invalid responses. The NMSS function returns the number of rows for which the column has any type of missing value: .n , .x , or a period.
nmiss(&col) "Missing or NOT VALID Responses for &col",