freq.na (a table to count missing data)

Basically a wrapper around table(is.na(x)) that works for both data
frames and vector objects.