define a maximum size for the media library as a whole, beside maximum size for file to upload

I know how to set a maximum size for file upload in the media library.
As I want to host multiple WP sites for different organizations, I would like to know if it is possible, and how, to set a maximum size for the library media as a whole, such as for instance:
organization 1 can store up to 10 Gb in the media library
organization 2 can store up to 50 Gb in the media library
It sounds it is managed on wordpress.com, but I can't figure out how to do it for my own WP installs.