Add statistics methods for fake metadata DB.