Single button, multiple press options (New thread see link in first post)

New thread:
See here.

Going on slightly from another thread with temperatures and alarms, it is interesting that I now have a similar question:

This flow works in that I have to press the button (start) 4 times to get an ACTION!

Pretty easy in retrospect to what @Andrei posted in the other thread.

Ok, so this works.

My quest is that it can also detect a single press.

I'll be thinking about it in the mean time, but I am just not getting something in how to let it do either a single or multiple presses.

[{"id":"9a9ece0e.e21968","type":"inject","z":"710ca09a.8302a8","name":"Start","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":490,"y":710,"wires":[["baa481f7.8c92f","d4d7fd43.e18b5"]]},{"id":"baa481f7.8c92f","type":"counter","z":"710ca09a.8302a8","name":"","init":"0","step":"1","lower":null,"upper":null,"mode":"increment","outputs":"1","x":676.6666870117188,"y":708.888916015625,"wires":[["18632614.5474e2","cdc2f3f7.8cd668"]]},{"id":"d4d7fd43.e18b5","type":"trigger","z":"710ca09a.8302a8","op1":"","op2":"0","op1type":"nul","op2type":"str","duration":"15","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":656.6666870117188,"y":768.888916015625,"wires":[["47f8333.7595f4c"]]},{"id":"18632614.5474e2","type":"debug","z":"710ca09a.8302a8","name":"RAW","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":816.6666870117188,"y":618.888916015625,"wires":[]},{"id":"cdc2f3f7.8cd668","type":"switch","z":"710ca09a.8302a8","name":"count presses","property":"count","propertyType":"msg","rules":[{"t":"eq","v":"4","vt":"num"}],"checkall":"true","repair":false,"outputs":1,"x":846.6666870117188,"y":708.888916015625,"wires":[["b04381cc.95e9c"]]},{"id":"47f8333.7595f4c","type":"change","z":"710ca09a.8302a8","name":"Reset","rules":[{"t":"set","p":"reset","pt":"msg","to":"foo","tot":"str"},{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":816.6666870117188,"y":768.888916015625,"wires":[["b04381cc.95e9c","baa481f7.8c92f"]]},{"id":"b04381cc.95e9c","type":"trigger","z":"710ca09a.8302a8","op1":"","op2":"ACTION","op1type":"nul","op2type":"str","duration":"10","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":1066.6666870117188,"y":708.888916015625,"wires":[["6419695d.f444a8"]]},{"id":"46bb072c.9ab548","type":"inject","z":"710ca09a.8302a8","name":"Reset","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":true,"onceDelay":"0.5","x":656.6666870117188,"y":818.888916015625,"wires":[["47f8333.7595f4c"]]},{"id":"6419695d.f444a8","type":"debug","z":"710ca09a.8302a8","name":"ACTION!","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":1226.6666870117188,"y":708.888916015625,"wires":[]}]

How would you tell if you made two single presses or if the two presses were ment to be tgether? you will need to define something like:
If the button is pressed more than once in N seconds it is a multiple press
else it is a single press.

Ah!

You may want to take a peek at my other shared flow which I subsequently posted.

I hope it is better than this effort.

This one

If you have created another thread that superceeds this one, then please make it known in the title so people won't waste their time looking at this one.

I hope that is good enough.

I don't exactly know exactly how to do what you are suggesting.