Add pagintation to table query data
Add method to count rows in TableQueryDataRepository