I opened a new pr to fix an issue that when there's only one page the result count was always 0.