add field_counter script