length and fold left