When creating a Segment, select the Has an Active Credit Package condition and select the following:
Customers Who Have/Do Not Have
Has
How Many Visits Remaining?
Select the condition that you'd like to filter for. For example, if you want a segment for customers who have exactly 3 visits remaining, type and select Exactly 3 Visits.
Which Credit Packages?
Select all credit packages if you'd like to include all customers, regardless of which credit packages they have remaining, or select a Specific type of credit packages if you'd only like to include specific credit packages.