Personal function length of list