There are many ways to accomplish this. Personally, I would output all interesting
information to a tab-delimited text file, then import it into a spreadsheet and
plot the results. The command for this would be something like:
exiftool -t -s -S -f -q -r -iso -shutterspeed -aperture -focallength -filename DIR > out.txt
The first column in the file is ISO, the second is shutterspeed, etc.
Another way, which is closer to what you asked, is to output all information and use
grep and wc to get your statistics (although for this technique you would have to specify
each ISO separately). For instance:
exiftool -S -r DIR > out.txt
grep -E 'ISO: 80$' out.txt | wc -l
This will output the number images taken at ISO 80.
Of course, there are many other ways to do it, but I hope this gives you some ideas.
- Phil
P.S. I know you said Linux, but I should also mention that there is a Windows XP utility based on
ExifTool that will do all this a bit more easily for you:
Exif Stats Utility.