How Can I Make a Button Only Press When a Certain Number of Objects are Collected?

Hm, no. I want to be able to press a button only when I have a certain amount of collected items. So if I tried to press the button with none, nothing would happen. When I’ve collected the set amount, the button becomes functional.