count mode: DB desiign