On spin-glass complexity