W and Z bosons, photons, etc have fixed masses, charges, interaction strengths with other particles. These properties can exactly be listed and looked up in a table of elementary particles with discrete rows.
Gluon color is continuous property in a vector space. Gluons can have any color in that space, with any combination of the 8 basis vectors (and that choice of basis is also completely arbitrary). The color |g1> is no more valid than the color (|g1> + |g2> + |g8> / √3) or any other of infinite combinations.
Calling this "8 gluons" is like saying there's "3 photons" because they can have momentum in 3 dimensions. If you want to argue there's infinite kinds of gluons, go ahead, but there aren't 8.