disable invitations_count by default, auto enable when invited_by_class_name is set and invitations_count column is present, related to #425