Here is an explicit way:
i=0 # initialize the variable to your liking echo $i # inspect the value let 'i=i+1' # increment by one echo $i # inspect the value again