Let my try explain to you, english isnt my first language BTW.
I will use 2 pokemon that discard energy when attack:
I hope its clear, Blacephalon GX need to have 5 energies in the entire process , the 2 energies that are lost zoned to knockout Shuckel and 3 energies in Blacephalon GX to bypass Shuckel's abilities.