Just a plus one on not counting on the correct connections. In half of all of the houses encountered in my family one or more sockets was incorrectly wired. Some were homeowner botches but some of the worst were "professionals" though I have no idea whether they were union pros or not.
It goes beyond that. I recently installed a couple of 6 bulb chandeliers that SWMBO selected for appearance. These came with each of the sockets installed and the wires from the sockets run to the central housing, but it was left to the owner to do final connection. The instructions included repetitive warnings to connect appropriate colors and match when attaching to the supply. But when I checked I found exactly half of the sockets the white (nominally neutral) wire was connected to the tip.
That left me with three options. Completely rewire the lamp, wire it electrically correctly and leave a mish mosh of interconnected colors, or connect the appropriate colors and have a slightly less safe chandelier. I elected the latter. I started down the first route and found that the sockets were not reworkable, and decided it wasn't worth the effort to redo the work I had done connecting it color matched.