5. Optional: Counting and mining with the shell