The simplest and most appropriate way to do this would be to measure the amount of oil you have in your compressor. For this purpose, unfortunately, it would be necessary to remove the refrigerant from the system, dismantle the compressor, pour out the oil, measure, etc. (you had the compressor removed from the vehicle and it was time for such checks). However, in practice it is rarely done and as long as it is certain that a catastrophe did not occur and that a large amount of oil was not poured out of the system, the amount of added oil is calculated as a guide.
1) You say that the oil spilled "a little" - so I assume that you know more or less how much and this amount needed to be refilled while filling the air conditioning.
2) Additionally, when replacing components, the oil that has been removed from it in the parts (e.g. condenser 20g, drier 15g, evaporator 20g, one conduit 5g, etc.) must be introduced into the system.
3) When extracting the refrigerant, some of the oil is entrained with the refrigerant. A small part, certainly not all of it, or even most of it. The spreads are large here, from practice I observe from 5 to 35 g - so you should write down how much oil you have pulled off and add the same amount when filling. It has been assumed that 10-15g is always added "blindly"
4) if there was an emergency leakage of the air conditioning during an accident - when filling, add 60-80g of new oil.
5) Some excess oil is not harmful, it will slightly reduce the cooling performance but will not cause a failure. The shortage, on the other hand, is threatening - so it's better to transfer a bit if not to add
To sum up - 20g for the oil poured out, 20g for the replaced condenser, 10g for any losses - together you should load 50g of new oil.
If the air conditioning was unsealed during the breakdown, add 80g + 20g poured from the compressor on the pole = 100g of new oil.
Regards