Suppose you want to enable filters for Bags and passengers. Please allow the option Yes.
Go to Global Settings > Transportation Settings > Transportation Enable filter via features
After that, we need to add the number of passengers and the number of bags allowed in individual transportation.
Update the transportation and check the front end. If you do not update all transportation with the number default, all transportation will show.
When you update all transportation with passenger and beg number, the customer filters by number.