Help with bar graph in ggplot

Hi @andresrcs, I have read your solution in this post:
https://forum.posit.co/t/adding-percentages-to-a-bargraph-in-ggplot/35860

but I am still confsed how to convert counts to percentages in this plot.
Can you advise, please ?