Add a method to get the tree size of the local database.

... though then you'd have to make a *whole new* c'tor :)