tcpldbStats function

Get summary statistics for the database