Apparently Gryffindors and Ravenclaws share Transfiguration classes.
Because Luna and Ginny were in the same class, at least in their OWL year (and possibly before that too, given that they seem to know each other fairly well by HP and the Order of the Phoenix):
"Oh, it's been alright. A bit lonely without the D.A. Ginny’s been nice, though. She stopped two boys in our Transfiguration class calling me 'Loony' the other day —"
-- Luna, HP and the Half-Blood Prince
Hat-tip to alexwlchan for making me aware of this.
But we never see Harry sharing classes with Ravenclaws, at least not 'on-stage'.
There are many scenes where he's in class with Malfoy, Crabbe, and Goyle (Slytherin), and some where he's with Ernie Macmillan or Justin Finch-Fletchley (Hufflepuff), but never with any Ravenclaws.
In fact, it's possible he never shared classes with them, given that he doesn't seem to know any of them very well. The main Ravenclaws we know about in his year are Padma Patil, who's only familiar to him due to her sister Parvati being in Gryffindor with him, and Terry Boot, Anthony Goldstein, and Michael Corner, who are described as follows in their first appearance:
three Ravenclaw boys he was pretty sure were called Anthony Goldstein, Michael Corner, and Terry Boot
-- HP and the Order of the Phoenix
Doesn't really sound as though he's been sharing classes with them for four years.
(So in answer to your question "Did Ravenclaws even have more than 1 student for Harry's year?" - yes, definitely.)