Complex sentence: Charles Messier catalogued the cluster as M6 in 1764 and it wasn't till the 20th century that star counts, distance, and other properties were measured.
Split into simpler sentences: Charles Messier catalogued the cluster as M6 in 1764. It was not till the 20th century that star counts, distance, and other properties were measured.