ChatGPT - Occurrences function in galah