Visibility based on item count in collection reference


I have a question about my collections. I have two collections - ‘Brands’ and ‘Products’ and ‘Brands’ is linked to ‘Products’.

I want to show a button only if a brand has more than one product.
Can you help me out with this?

Thanks a lot!