CREATE TABLE table_22199 ("HD designation" CLOB, "Constellation" CLOB, "Distance  (  ly  ) " CLOB, "Spectral type" CLOB, "Signal power  (  kW  ) " FLOAT, "Date sent" CLOB, "Arrival date" CLOB)

If the spectral type is g1v, what is the total distance amount?
SELECT COUNT("Distance ( ly )") FROM table_22199 WHERE "Spectral type" = 'G1V'
SELECT COUNT("Distance ( ly )") FROM "table_22199" WHERE "Spectral type" = 'G1V'