The number of sets of string lights you can connect together will depend on various factors such as wattage, voltage, amperage rating of each bulb, etc. It's important not to overload electrical circuits by exceeding their capacity limit, which may lead to fire hazards or damage connected devices like light bulbs or outlets. Read manufacturer guidelines and instructions carefully before connecting multiple strands, and always consult an electrician if you're unsure about safe installation practices.