Replacing 4 spokes is trivial if the rim and hub weren't damaged. If you have any doubt about length, remove an undamaged spoke to measure. Insert the new spokes and bring them up to tension while leaving the rest alone - this will tell you how much the rim has been affected by the abrupt change in tension during and after being broken.