How can I insert an If condition to check if there are extra columns in a Data Table?

I’m using this activity, remove data column, it seems that the excess column is not working
image

How can I remove the excess column dynamically, like what if the excess is 3 columns or 4 moving forward?

Thank you.