Basically I want to write an API, client will say "I want to get 5 books, and i need to know how many books do you have" and api should return first 5 book and total b