I am trying to write a function to loop through the selected columns and plot subplots of countplot but it just plots only one of the plots and also gives a error message of