Question: how to calculate how many electrons pass through a wire?
Answer: When one coulomb charge passes through any cross section of the wire per second,the current passing is one ampere. Charge of electron ,e=1.6X10^-19C. n=1/(1.6X10^-19)=6.25X10^18. This number of electrons passes through cross section of a wire carrying 1A current.