Listnode Length Python Function Example With Variables