ENH: The length of a python list O(1), so I may as well calculate it.