Thanks!
I see now that tt worked for XAG because a>1 in that case.

Btw...I am trying to export the counter array of the script using the print function with the TO_CSV option but I cant make it to work. Some ideas? Thanks