class RelationLengthValidator