她班 or 她的班 are both acceptable
Why is there no 里 in this sentence? It says IN her class?
Well, the sentence is saying her class HAS...
I thought the counter for people was 名?
The way I learned it, 名 is for high-ranking people (doctors, professors, etc) or party members, or when using formal language.
What about 她的班里有五个男孩子和五个女孩子?
"In her class there are" instead of "Her class has"