Question: If the spectral type is g1v, what is the total distance amount?
Schema: create table table_1820752_1 (distance___ly__ varchar, spectral_type varchar, PRIMARY KEY (distance___ly__))
SQL: select count(distance___ly__) from table_1820752_1 where spectral_type = "g1v"