How to count words for translation