The easiest way is to look at the bolts that hold the center section into the housing.
If all can be accessed with a socket, then it is an 8"
If one obviously needs an open end wrench to remove, it is a 9".
If it is an 8", then you have 28 splines.
A 31 spline 9" has some marks to tell, I don't remember them exactly. I think there are 2 bumps cast into the wheel mounting hub. There is also a difference in the holes around the stud flange where you access the backing bolts.
Someone else will have to clarify.
Dave