Arrays: count digits, white space, others