Ex1-4: combine word count, line count and char count