simple question:

what is the code to do a word line count or a character count of a file?


thanks