I'm given to understand from my textbook that resistance is inversely proportional to the current (seems straightforward from Ohm's law). I also understand that resistance is a property of the given object. However, the textbook also mentions the law of conservation of charge, stating that the amount of charge in the wire before going through the resistor is equal to the charge after passing through the resistor. I'm having trouble wrapping my head around this.
For example, let us consider a simple circuit with a single resistor. If the current in the wire before entering the resistor is I, then the current after exiting the resistor must also be I. Given that resistance is a property of the material, the current inside the resistor is some Io such that Io < I (assuming the resistor of the wire is smaller). From the definition of current, there would be N number of charged particles before and after exiting the resistor, and No number of charged particles in the resistor (such that No < N). How exactly does this decrease and increase work?
(Please feel free to correct me if I'm interpreting the whole thing wrong)