You want to know the 'total time a person attends class.' What does that mean for you? Count of sessions attended