word count with wc



$ wc README
     220     516    3270 README
$ wc *.xml
     750    2020   19797 intro.xml
     593    1568   14953 scripts.xml
     145     366    3338 variables.xml
    1488    3954   38088 total

$ wc -l README 
     220 README
$ wc -w README 
     516 README
$ wc -c README 
    3270 README

Counting lines, words, characters