get_collection_size to use db_get