added counting NAs example