some fix about the include
remove db_count_mem,use bc_used.