function textCounter(t,c,m) {
  c.value = m - t.value.length;
}