I have added 'num_pages' key to response to indicate total number of pages. This API returns response like this 
{'count': '25', 'next': 'https://testserver/api/users?page=2', num_pages='3', 'previous': None, 'results':[]}
'next' and 'previous' keys would have value of None if there are not next or previous page after current page.