Add X-Total-Count header support