Bash Script Using A Counter In Python In For Loop