Gets value for a single attribute. If the attribute is a complex attribute category’s attribute, then the select function can get all values for that attribute within the complex attribute’s groups of attributes.
The following criteria expression returns true if the cart complex attribute contains three product attributes.
count(select("product", get("Account.cart"))) == 3