couple small changes including a db size method for hte metrics