Added retain_calc function for consideration

Small function that calculates if a student is listed more than once in a grade. May be worth some edits for generalization. This function assumes that you have `sid` and `grade` probably coming from a `student_annual` attribute page so that the same student may exist multiple times with the same or different grades.