結果 : count occurrences of string in file python