Table schema:
CREATE TABLE table_1820752_1 (distance___ly__ VARCHAR, spectral_type VARCHAR)

Question: If the spectral type is g1v, what is the total distance amount?
SQL: SELECT COUNT(distance___ly__) FROM table_1820752_1 WHERE spectral_type = "G1V"