I'm doing my graduate paper work and i'm building an potentiostat to do eletrochemical analysis. In our reference paper, i found an circuit that i'm following to create the device.
As we read the paper, it wasn't so clear how the guy was measuring current, but he does that to create the amperometry graphic. Can you guys help me to understand how this current is being measure?

I understand the shunt resistor concept that he said he's using to measure current, but i can't undestand how he applied it.
Here is the paper:
https://pubs.acs.org/doi/10.1021/acs.jchemed.8b00340
The WE, CE and RE are eletrodes that go in a eletrolytical cell, where a reaction is going on, in this particular case, between I2 and ascorbic acid (vitamin C). The potencial aplied to this cell will start the reaction.
Here is an explanation of potentiostat work: What is a Potentiostat and how does it work? – Pine Research Instrumentation Store