AppsFlyer interview question

they gave me a file and wanted me to print for each word the number of occurnces