You're right about more gears in auto transmissions helping to keep the engine at its ideal RPM for torque. There are still more mechanical losses in an auto transmissions since the auto transmission's fluid-based torque converter does not transfer engine rotation as efficiently as a manual transmission's friction-based clutch when the latter is fully engaged.