Added Database.countFrom(...) to count rows in a database
Helpers for working with transactions

Closes #6