>>> [len(i)[i[::-(i1].index(None)+1) if None in i else len(i) for i in zip(*listA)] [4, 0, 1, 4]
>>> [len(i)-(i.index(None)+1) if None in i else len(i) for i in zip(*listA)] [4, 0, 1, 4]
>>> [i[::-1].index(None) if None in i else len(i) for i in zip(*listA)] [4, 0, 1, 4]