In a nuclear reaction, the quantity that remains the same before and after the reaction is the total number of protons.
This is known as the law of conservation of nucleons, which states that the total number of nucleons (protons and neutrons) is conserved in a nuclear reaction, with protons specifically maintaining the balance of atomic numbers between the reactants and products.
So the correct response is: the total number of protons.