calculate distinct list of librarians from db.catalog (instead from db.books)