Earned income, does it count with student living at college for the other 9 month?

should I have entered the whole year and not three month?