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

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'