I do not see a reason for the 50 ohm resistor. Current limit is done by the 820nF capacitor.
The 3.3nF 600V cap could be a low voltage cap. It only sees the LED voltage. I have built this with one LED and used a 6.3V cap. In my example of one LED I also used 50V diodes.
I like the idea of a small inductor but just used 5 to 50 ohm of resistor.
In all the examples of this circuit the LED voltage is much lower than the power line. (5x10=50 leds) I have never seen that many LEDs. If the LED voltage approaches the line voltage then the 820 cap does not do its job to limit the current.
View attachment 118363