Blockly trace nested counter

@BrettASwift @kadst43 This resets nested counters on subsequent iterations, and also removes the counter for conditional loops.