According Apple, a cycle is a charging process of 100% the battery capacity. Means, ie, twice from 20 to 70%.
Not the amount of times the battery is connected to the charger. Means ten recharges each by 10% equals one cycle.
Best practice would to recharge the battery before falling below 20%, and possibly stop charging when reaching 80%.