How many transistors are there in a logic gate?
See the first answer to this question.  It shows a TTL inverter circuit with a totem-pole output; there are four transistors.  A TTL NAND gate would also have four transistors, but the input side would have a dual-emitter transistor.

An unbuffered CMOS inverter has just two transistors, yes, but a buffered inverter will have more (either four or six, I can't remember which, or perhaps it varies).