How can I filter the clients by number of products (and not of orders)

How can I filter the clients by number of products (and not of orders)

thx