How to calculate the number of turns of a capacitor