Task: Question Generation
Input (English): In 1958, Korolev upgraded the R-7 to be able to launch a 400-kilogram (880 lb) payload to the Moon. Three secret 1958 attempts to launch Luna E-1-class impactor probes failed. The fourth attempt, Luna 1, launched successfully on January 2, 1959, but missed the Moon. The fifth attempt on June 18 also failed at launch. The 390-kilogram (860 lb) Luna 2 successfully impacted the Moon on September 14, 1959. The 278.5-kilogram (614 lb) Luna 3 successfully flew by the Moon and sent back pictures of its far side on October 6, 1959.
Output (English): How many attempts to the Moon did Luna E-1-class probes fail before successfully launching?