I just tested it to make sure my idea works => it does 
Example:
{
"CreationDate": "2018-9-12",
"Commands": [
{
"Command": "open",
"Target": "https://bbc.com",
"Value": ""
},
{
"Command": "store",
"Target": "0",
"Value": "l1counter"
},
{
"Command": "store",
"Target": "0",
"Value": "l2counter"
},
{
"Command": "label",
"Target": "ONE",
"Value": ""
},
{
"Command": "storeEval",
"Target": "${l1counter}+1 ",
"Value": "l1counter"
},
{
"Command": "echo",
"Target": "inside loop 1, counter = ${l1counter}",
"Value": "blue"
},
{
"Command": "label",
"Target": "TWO",
"Value": ""
},
{
"Command": "storeEval",
"Target": "${l2counter}+1 ",
"Value": "l2counter"
},
{
"Command": "echo",
"Target": "inside loop 2, counter1 = ${l1counter}, counter2 = ${l2counter}",
"Value": "green"
},
{
"Command": "gotoIf",
"Target": "${l2counter} < 5",
"Value": "TWO"
},
{
"Command": "store",
"Target": "0",
"Value": "l2counter"
},
{
"Command": "gotoIf",
"Target": "${l1counter} < 5",
"Value": "ONE"
}
]
}
