Ert 791 write num wells