Made len method public