SWI-Prolog Did You Know We need you to to keep SWI-Prolog sustainable Search Documentation:
Predicate lazy_list_length/2