This is essentially the definition for complexity that Ousterhout argues for in the book A Philosophy of Software Design. I highly recommend reading it if you haven’t, it’s very good.