Require X amount of custom options

How could I customize Magento 2.3.6 product detail page (for a specific product) to NOT allow a customer to Add to Cart unless the customer checked a minimum of 4 custom options checkboxes out of 10 possible custom option checkboxes?