Open the BP_QuickSlotsPanel and then open the RemoveQuickSlots function, then create a new local variable called CountL and set its type to Integer.

Then copy the image below by adding in the highlighted nodes.