I want to connect a wire to get power for for a ceiling fan to an existing junction box in the attic that is used right now only for a smoke detector. Box currently has a 12-3 wire coming in, and the smoke detector wires (connected to a quick disconnect). Plastic box says it can take 8 12-gauge wires. How do I count the three smoke detector wires (white, black, red, smaller than 12-guage)? What's my total count so far, and can I add another 12-2 wire?
I believe the smoke detector wires are 14. Attaching picture.