move total_elements to meta.page