In case this is ever needed again. It is to go in the Modules area, down in the Java script section. Just copy and paste this:
$(function(){$(function() {
var c = Number($('.nav a:eq(1)').attr('href').replace(/\/c(\d+)-.*/,'$1'));
if (c == 1 || c == 2 || c == 13) {
var MinNumberOfWords = 100;
var LetterCountPerWord = 1;
var ico_compl = "https://i.servimg.com/u/f73/18/10/89/49/ok-gre10.png";
var ico_incompl = "https://i.servimg.com/u/f73/18/10/89/49/exclam10.png";
if($("#text_editor_textarea").length != 0){
$("input[type='submit'][name='post']").attr("disabled", true).css("opacity", "0.5");
$(".sceditor-container").after("
");
var sceditor = $("#text_editor_textarea").sceditor("instance");
var str = sceditor.val();
var regex = new RegExp('\\w{' + LetterCountPerWord + ',}\\b', 'g');
var str_arr = str.match(regex);
var str_len = str_arr == null ? 0 : str_arr.length;
if(str_len >= MinNumberOfWords) $("input[type='submit'][name='post']").attr("disabled", false).css("opacity", "1");
sceditor.keyUp(function(e) {
str = sceditor.val();
str_arr = str.match(regex);
str_len = str_arr == null ? 0 : str_arr.length;
if(str_len >= MinNumberOfWords) {
$("#div_minchars_info").html("You've written
" + str_len + " word(s). You can now send the message
");
$("input[type='submit'][name='post']").attr("disabled", false).css("opacity", "1");
}else{
$("#div_minchars_info").html("You've written
" + str_len + " word(s). You need " + (MinNumberOfWords - str_len) + " word(s) to send this message
");
$("input[type='submit'][name='post']").attr("disabled", true).css("opacity", "0.5");
}
});
}
}
})});