From 《The C Programming Language》 Page 18
Add code: count-characters.c
    count characters in input