Fixed bug with Arabic word count and added auto detection of RTL in language pack.