Added "substr_count_unicode" function