public bool ValidateInput(string input, int min, int max)
        {
            // count array
            var wordCount = HtmlStringHelper.GetWordCount(input);

            // validate count
            if (wordCount > max)
            {
                Error = "Error: The words has exceeded " + max + " words";
                return(false);
            }
            else if (wordCount <= min)
            {
                Error = "Error: There must me a  minimum of " + min + " words";
                return(false);
            }

            return(true);
        }