'Returns the length of the i-th list.'

def getLength(self, i):

    length = 0
    sentinel = self.sentinel
    node = sentinel.next[i]
    while (node != sentinel):
        length += 1
        node = node.next[i]
    return length
