wc Command
The wc command displays the number of lines, words, and bytes in the chap1 file. ... The command also displays the total number of bytes and words in these files. ...
http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix.cmds/doc/aixcmds6/wc.htm