However, that requires actually running the script. This would mean you could just scan and look at the number before the OP_LOOP, so easier.
Sure, but under what circumstances would anyone care about the cost of a script which they wouldn't be running anyway?