Starts counting number of characters upon user input