Added reporting of data object sizes.

Fixed memory leak in construction of timestamp queries (parsed
timestamp string was not freed).