Add enrollment_count method to wrap enrollment counter cache value.