created the count limit in the TextField