add num_rows to the argument of graphdb.sh