update generate_pic_list.sh: auto calculate the col number