WIP: pass on the api's total rows header

* [ ] pass on rows to client
* [ ] reverse thermodynamic arrow of time, write tests (TDD!), reset time to normal flow