Higher-order spectral shift function for resolvent comparable perturbations