To find this, run the command DSPLIB *PRINT, and at the bottom of the report produced is the size of the library.