How many would I need to eat?

Je

I did the jelly beans instead of the glucola drink with my first son but I can’t find an answer because they’re all saying different numbers. I’m guessing 22 for 50g of sugar? This is the brand I’ll be using.