db_u and db_d to return affect rows counts