Column Length Python Function Questions