I am not familiar with the Do N node but it seems all you must do is replace that with a branch comparing an int that gets incremented every tike you jump and reset when you land, and decremented when you dash.
if you want a triple jump why not just use the functionality built into the character class. just go into the class defaults, find the character section, then set max jump count to 3. this will allow the character to jump up to 3 times before having to land.
i just noticed you only want the third jump after a dash. you could also do this by just modifying the max jump count via a scrip as there is nodes for get and set max jump count and get current jump count. so basically for your example after the launch character for the dash you could set the max jump to +1 then on reset can dash event set the max jump to -1 of its current value.