count digits, white space, others