Recurssive incement of variable in bash
var = $ (( var + 1 )) or (( var = var + 1 )) or (( var += 1 )) or (( var ++)) or let "var=var+1" or let "var+=1" or let "var++"
This blog shares my experience with different software I use.
Remember google is your best friend!