text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_1820752_1 (distance___ly__ VARCHAR, spectral_type VARCHAR)
  ### Question:
  If the spectral type is g1v, what is the total distance amount?
  ### Answer:
  SELECT COUNT(distance___ly__) FROM table_1820752_1 WHERE spectral_type = "G1V"