amelioration de count_letter