Problems and solution on Trainer

It should be length instead of lengths, it can be customize using length_column_name now! That’s nice!