check num row inserted/updated