The length of chains in algebraic lattices