Text this: Closed orbits of (G,τ)-extension of ergodic toral automorphisms