CmdUtils.CreateCommand({
  name: "chars",
  author: {name: "Danilo Augusto", email: "contato@daniloaugusto.com.br"},
  description: "Count the numbers of chars in your selection",
  homepage: "http://www.tidbits.com.br/",
  takes: {"Insert a text for count the number of chars": noun_arb_text},
  preview: function(pblock, t) {
    if(t.text==''){
      pblock.innerHTML = 'Insert a text for count the number of chars';
    } else {
       if(t.text.length==1){
          pblock.innerHTML = '1 char';
       } else {
          pblock.innerHTML = t.text.length + ' chars';
       }
    }
  }
});