imporve len method of Jlist