Shear spectral sum rule in a nonconformal gravity dual