#count total rows in data frame nrow(df) #count total rows with no NA values in any column of data frame nrow(na.omit(df)) #count total rows with no NA values in specific column of data frame nrow(df[!is.na(df$column_name),])