added character counter for post