ESR meter with Arduino

Hi,
is it possible in this scheme to measure the capacity of the capacitor?
If so, by what formula?
Thanks.