The charge $Q$ is given as: \[ Q = ne = \text{area under } I-t \text{ graph} \]
Substituting the values: \[ n = \frac{5000 \times 10^{-3}}{1.6 \times 10^{-19}} = 3.125 \times 10^{19} \]