Write a program to count blanks, tabs, and newlines.