There are 9 students in Ms. Q's class. Ms. Q wants to split up her class into three groups for a group project, and wants each group to have at least two students. In how many ways can she do this?