Simple case-insensitive count
Input
count_word_frequencies('Hello world hello')
Output
{'hello': 2, 'world': 1}
The function lowercases words and counts occurrences: 'hello' appears twice, 'world' once. The first appearance order is 'hello', then 'world'.