Help with Box triggers and Stopping player Movement

Hello, My goal is to have a player moving continuously to the right in 2D and be stopped by a box trigger. Once the player enters the box trigger the player has to click a certain amount of times then the box trigger destroyed and the player can then continue to move right. Right now i have it where the player moves right enters the box trigger but then I cannot figure out how to make it so that the box treigger is removed after a certain amount of clicks. Please help, im sure its very simple but i cannot figure it out. Thank you. The attached images are the blueprints of the player and the box trigger.