Add getRowCount command

*unlurk*

A naive attempt at addressing https://github.com/maxogden/dat/issues/61