The SmartThings smart button currently has three buttons one is the hold functionality the second one is press and the third is double press you can add triple press by using this customization.
You will first need to install the Bys-beta virtual device edge driver. Once installed, open the virtual hub and add and create a Consumable inside the virtual Factory.
You can install the virtual device driver here:
With this new consumable you will be able to keep track of double button presses allowing you with the following customization to react to a forth button functionality (Triple press).