Question: If the spectral type is g1v, what is the total distance amount?
SQL: SELECT COUNT Distance ( ly ) FROM table WHERE Spectral type = G1V