It still counts to days out of service. A recall is a recognized defect. You can lemon law a vehicle over a recall if they can't fix it after 3 tries or 30 days just the same.Not according to lawyers that specialize in lemon law cases.
The purpose of lemon law is to protect you in the event you purchase a defective vehicle and hold manufacturers accountable for a defect. If they recognize that defect and recall the vehicle to fix it, then lemon law no longer applies.
The 30 days is cumulative. Doesn't have to be the same problem. Doesn't have to be a whole 24 hours. A dealer trip for any issue other than routine maintenance counts to days out of service.
Recalls are not routine maintenance.