Hello!
I'd just put down that you visited Spain and France so mark it as "SPAIN/FRANCE" in the box. They are more concerned with the number of absent days.
Also, don't count the day that you travelled and the day you arrived back into the UK. These are discounted from the number of days absent