Quite a few!
There are 7 ways to choose the designated freshman
7 ways to choose the designated sophomore
7 x 6 / 2 = 21 ways to choose the two designated juniors
also 21 ways to choose the two designated seniors.
Having selected these 6 students, the remaining pool has 28 - 6 = 22 people.
From this pool 17 - 6 = 11 must be chosen. The number of ways of doing this is 22! /( 11! 11!)
So the final number is 7 x 7 x 21 x 21 x 22!/( 11!)2
This is a huge number.