find digits in character stream. and count chars.