The library is estimated to have held around 30,000 clay tablets, covering various topics such as literature, religion, law, and mathematics .