rewrote get library to exclude pagination. Wrote get library count API