The wires count seems to be the number of conductors in the cable (i.e. the number of wires you'll find if you cut a cable in half, including ground and power).
It's true that the actual data is sent over a lower number of diffpairs.
I suspect the shield is not included in the number of wires, since all USB cables have a shield (not sure if usb 3.0 has an extra return ground wire for high speed).
Yes, but not all of those 24 pins are used, and some of them are duplicated.
I also don't think you can make this "main wire" distinction: you shouldn't be counting the power wires if you only care about USB data in the Type A case, and you should arguably be counting the CC wire in the Type C case if you want to go for "strictly necessary to function", or the SBU wires if you want to go for "carries data at nontrivial speeds".
It's true that the actual data is sent over a lower number of diffpairs.
I suspect the shield is not included in the number of wires, since all USB cables have a shield (not sure if usb 3.0 has an extra return ground wire for high speed).