SWI-Prolog Did You Know Did you know? SWI-Prolog runs on Android Termux Search Documentation:
Predicate occurrences_of_var/3