Fix false __len__ claims in Trainer docstrings (#47131)