If I want to know which lens or ISO I use the most, scrolling through photos one by one is silly. ExifTool can dump the metadata of a whole folder as CSV, one row per file.
exiftool -csv -FileName -Model -LensModel -ISO -r photos/ > photos.csv
The -csv option exports in CSV format, and naming tags after it limits the columns to those tags. Without tag names you get every tag found, which makes a very wide file. -r walks subfolders.
Open the result in any spreadsheet and a pivot table answers the lens question in a minute.
The same option also works the other way round. With a filename, as in -csv=photos.csv, ExifTool imports the values and writes them into the files. That is handy for adding titles or copyright text to hundreds of photos, but it changes the originals, so keep a backup and test on two files first.
One caveat: ExifTool prints values in a readable form, such as 1/250 for a shutter speed. For calculations, add -n to get raw numbers.
Two more options from the manual are useful here. With -g or -G, ExifTool adds group names to the column headings when exporting, so you can tell apart tags that share a name in different groups. And -b outputs binary data, encoded in base64 if necessary, which you rarely want in a spreadsheet.
Further reading: ExifTool application documentation