"But just how long the Boeing 777 jet could have stayed airborne would depend on its actual flight path, its altitude and how many of its four engines were operating."
The APU on a 777 provides truly negligible trust; the exaust from the APU is on the left side, not centered, so if it were providing meaningful thrust it would inducing a yaw moment.
I'm pretty sure the generally accepted meaning of an 'engine' in the context of powered flight is 'a thing that provides thrust' and not 'anything that consumes fuel'
The RAT is not an engine and doesn’t deploy unless all other engines have shutdown in flight, and it induces drag because it’s a kind of ‘wind turbine’ that drops into the airstream and generates electrical power (and maybe hydraulic pressure)