change the frame count in zmq_proxy_hook's hooks