High BG and large keytones. How much insulin to take by injection?

This was a BG of 315 after a few correction boluses, so it was definitely ketones due to no insulin -- no doubt in my mind about that one. The stick turns dark-purple immediately kind of ketones.

Yes, the 6 units is arbitrary, and I don't know of that advice was customized for me or if this CDE gives it to all her patients, but I just wanted to get out of ketosis quickly so I took it. And as I discussed on Tu awhile ago, I'd rather be low than high.