Return the archives total number for the pagination.
Semantic UI pagination feature needs the total number of pages as a required parameter. We need an API call at the database to retrieve the total number of archives so we can calculate the number of pages.