Can Zotero count the pages of my library?
Specifically, I'm writing a bachelor project and I need 1750 pages of literature. Is there any way that zotero can tell me how many pages of literature are in a given folder, assuming, of course, that the "pages" field is filled out correctly? It doesn't look that way, but I'm hoping that maybe someone wrote a plug-in somewhere.
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
https://www.zotero.org/support/reporting_problems#reporting_startup_errors
(Basically, this tells you how to start Zotero with the Error Console open.)
Once you have Zotero with the Error Console window open, open the collection in question. Then, in the Code line at the top of the console window, paste this in:
Components.classes["@zotero.org/Zotero;1"].getService(Components.interfaces.nsISupports).wrappedJSObject.getActiveZoteroPane().collectionsView.getSelectedCollection().getChildItems().reduce((x, y) => x + y.getField('numPages'), 0)
Press return or click Evaluate, and you should see the total pages for items in the current collection at the bottom of the console.