added input validation on current wordcount field