Added more character counting.