Each insulated wire, all cable clamps, all un insulated wires, and each support for light or another fixture count as one wire. There are two wires for each switch, outlet, or other device.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.