Implemented support for client_cnt.
Fixed client_cnt.