Extract method to look up pagination data
Support pagination from options metadata