public static int WordsCounter(this ToolsFacade facade, string _input) { int num = 0; char[] array = _input.ToCharArray(); for (int i = 0; i < array.Length; i++) { if (facade.IsChineseCharacter(array[i])) { num += 2; } else { num++; } } return(num); }