Whenever you're ready, walk me through how you'd approach this.
Tell me about how you would read a text file, count how many times each word occurs, and prove it with test-driven development using the interviewer-provided test cases.