count characters in text file python