Added inserted rows counting in copy_db script.