Why not create an microflow behind the add button that first checks the condition and either respond to the user that no more passengers can be added or otherwise just add the passenger? If you want to hide the button you could use the Show by condition widget (https://appstore.home.mendix.com/link/app/2539/First-Consulting/ShowByCondition)
Regards,
Ronald