In the energy payoff phase of glycolysis, four ATP molecules are recovered.
The net gain is two ATP molecules. In addition, two NADH are also produced; these will be processed in the ETC.