Update epic cache counts when group is transfered
Although we remove invalid epic references when a group is transferred, this is done by update_all so no other callbacks are triggered. We should make sure that cache counts are also updated for impacted epics.