There are sources that say there are 1 M public domain ebooks.
https://libguides.library.umkc.edu/OER/PublicDomainBooks
Also there are thousands and thousands of DRM free ebooks to purchase. Possibly millions.
https://www.tomsguide.com/tablets/e-readers/no-kindle-no-pro...