Total complexity calculation added