Added getListLength() function to resolve a value of the new ListWithLength type
getListLength()
ListWithLength