Fixed incrementing of s_order_cnt on new order

Hi,

re-submit of #16.