Yes, you're correct.
If there is a spacer behind the cassette, the freehub body is actually an 8 speeder with a 7 speed cassette in it though.
This is unlikely if everything is a stock set-up on a bike though. The wheel is most likely 7 speed along with the cassette.