"My class has seven students."
Translation:Mi clase tiene siete estudiantes.
I'm not sure how the Spanish think about it, but it tuns my stomach to see this sort of English. I was taught that 'to have' means originally 'owing' . In this case you'd have to say: "There are ..., ... in my class" .
Maybe it's the other use of 'to have', that has caused this, a little more complicated structure. I mean , as an auxiliary verb. The same structure is also in German, Swedish, Norwegian/ Danish/ Icelandic ... But I suspect that it goes back to Latin (?)