Based on the internal format of the library file, there is no limit on the number of objects. There is a maximum file size of 2GB - 2,147,483,647 bytes.
The ORCA interface has a limit on the number of libraries in one target of 32,768.
I have no idea if the IDE has a lower limit on either of these.