esql_model: restore count to 0 again, need to see this later.
esql_model: Basically update is now working (from emodel_property_set call) , next step will be to implement insert and optimize & double check the whole code.