In a nuclear reaction, the quantity that remains the same before and after the reaction is the total number of protons. This is due to the principle of conservation of nucleon number (which includes protons and neutrons) and conservation of charge.
While energy can change forms during a nuclear reaction, the total number of protons in the system remains constant. Therefore, the correct answer is:
the total number of protons.