Counter-helical magnetic flux ropes from magnetic reconnections in space plasmas