I have a relationship field "assigned_brands" on Stylist Post type that returns an array of the associated Brands post type. I want to query based on the count of assigned_brands . For example I want to get only the the Stylists that have between 1-3 assigned brands or get the stylists that have 10 or more brands assigned
Do you have any idea what filter I must use to be able to use a meta query ?
Thank you all in advance Kind regards John