[RFR] Fix datagrid pagination count

Fixes #56