wire entering a box and running out again without splice is counted as
only one wire.
one from the number in the table if a box contains a fixture stud,
hickey, or one or more internal cable clamps. The total deduction
is one for each type of these items present in the box. External
Romex or Greenfield connectors are not counted for this purpose.
two from the number for each switch, receptacle or similar device, or a
combination of them if mounted on a single strap.
wire originating in a box and ending in the same box is not counted.
bare grounding wires are counted as one wire, no matter how many of