public static int GetTotalCount() { var ctx = new ICCData(); return ctx.CurrentAttendees.Where(a => a.EventID == NextEventId).Count(); }