Another way to say "A library can have thousands of books." is "Libraries can have books by the thousand."