import seaborn as sns
sns.countlot(data=df, x='churned' ,hue = 'gender')
With this you can't you stacking
But you can do the same thing, plus stacking with histplot. Hist is usually used for numerical variables, but it does counting so it will do a job
sns.histplot(data=df, x='churned', hue='gender', nultiple='stack')