correcting Arabic and Persian word counting

matching Arabic and Persian words. [test in regexpal.com](http://regexpal.com/?flags=g&regex=[a-zA-Z0-9_\u0392-\u03c9%D9%80\u0600-\u06FF]%2B|[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af]%2B&input=salam%20salam%20%D8%B3%D9%84%D8%A7%D9%85%20salam%0A%0A%D8%A7%DB%8C%D9%86%20%D8%AE%DB%8C%D9%84%DB%8C%20%D8%AE%D9%88%D8%A8%D9%87!%20%DA%A9%DA%86%D9%84%20%DA%A9%D9%84%D8%A7%DA%86%D9%87.)