It is as follows:
Before losing an electron, it'll have 13 electrons and 13 protons
After it loses an electron, the amount of protons will remain the same at 13 while the number of electrons will decrease to 12.
This follows the basic rules of Atomic Numbering.
I hope that answers your question.