Q. For student it says it had to be for 5 months. Does that include time they were accepted?
A. Yes. More specifically, the technicality is "enrolled", not "accepted". If the student was enrolled, in August, he meets the 5 month rule.
If the student was in high school, earlier in the year, that also counts as being a Full time student.