added bucket stats db interface