SELECT COUNT(DISTINCT t.driver_id) AS drivers FROM trips t JOIN drivers d ON t.driver_id = d.driver_id JOIN vehicles v ON t.vehicle_id = v.vehicle_id WHERE d.driver_status = 'active' AND v.vehicle_status = 'active';