Loads on the mains must not be too inductive because this upsets the generators, so the out of phase inductive current is balanced by the identical capacitive current. So outside of the building there is no inductive current to be measured.
So work out what is needed, you need to find the inductive current, based on the total (measured) current and the power factor. Then calculate what capacitive reactance you need to get this current. Thats it.
Active PFC correction is based on switching a capacitive load in and out very rapidly via a PWM system, so as to get the effect of a variable capacitor to the mains. The system obviously try to balance the current to cancel out the reactive components.
Frank