Query filter on number of values in multi-valued attributes